Where is Memcached log?

Maxoq

Well-known member
Registered
Joined
Feb 25, 2015
Messages
535
Points
28
I'm running memcached on my CentOS. I installed this using yum which has installed the standard memcached script in /etc/init.d and the configuration file in /etc/sysconfig/memcached:

Code:
PORT="11211"
USER="memcached"
MAXCONN="1024"
CACHESIZE="256"
OPTIONS=""
Everything is working fine with one exception - I can't figure out where is memcached log?. I would like to put the log file in /var/log so that I can monitor Monitor the Memcached servers

Is it possible to achieve this using the base scripts? or any configurations?
 

LJSHost

Well-known member
Hosting Provider
Registered
Joined
Jul 5, 2016
Messages
1,031
Points
63
The memcached log file is defined in the configuration file /etc/memcached.conf

Code:
# Log memcached's output to /var/log/memcached
logfile /var/log/memcached.log

I would check the config file and see where the log is defined.
 
Older Threads
Replies
2
Views
3,200
fwh
Replies
4
Views
4,455
Replies
7
Views
5,150
Latest Threads
Replies
1
Views
77
Replies
1
Views
83
Replies
2
Views
742
Recommended Threads
Replies
25
Views
19,120
Replies
6
Views
5,935
Replies
7
Views
5,632
Replies
0
Views
3,049
Replies
8
Views
6,133

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top