Where is Memcached log?

Maxoq

Well-known member
Registered
Joined
Feb 25, 2015
Messages
520
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
2,659
fwh
Replies
4
Views
3,483
Replies
7
Views
3,950
Latest Threads
Replies
1
Views
26
Replies
0
Views
188
Replies
1
Views
40
Replies
2
Views
83
Similar Threads

Latest postsNew threads

Latest Hosting OffersNew Reviews

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