Score:0

Configuring and rotating logs for Apache lbmethod_heartbeat module

ru flag

The problem I'm having is a log file growing and using all available disk space on the server. The server is RHEL on AWS EC2. The file causing problems is located in /tmp/systemd-private-*-httpd.service-*/tmp/heartbeat.log

The only module I see loaded that could be producing this log is lbmethod_heartbeat. I however do not see any configuration for the module or logs.

How can I configure the location this log is placed in and rotate the log? Why is it being saved in the tmp directory?

Michael Hampton avatar
cz flag
Have you looked at the log file to be sure it is what you think it is?
its4net avatar
ru flag
Yes, I've looked at it. That's the only module that's loaded with anything to do with heartbeat. Not sure why it is saved in tmp and hoping I can rotate is. If all else fails I can set up logrotate to rotate the file in tmp folder, but that doesn't sound like the best solution.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.