Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
Locked
0

Apache log rotation

New Here ,
Apr 22, 2014 Apr 22, 2014

From the documentation here: http://help.adobe.com/en_US/adobemediaserver/configadmin/WS5b3ccc516d4fbf351e63e3d119f29260bd-7ffa.2... is is stated that " Adobe Media Server handles log rotation for the Apache logs." However, it appears not to be the case.

My logs in /opt/adobe/ams/Apache/logs are not rotating.

Can you help with this? Does AMS handle this or will I need to manually logrotate?

Regards,

A

677
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 25, 2014 Apr 25, 2014

So this isn't working?:

1. "One option is to rotate log files, moving or deleting the oldest files."

I usually rename the old log files whenever/before the server needs to be restarted and that forces the server to generate new log files.

2. "Use the rotation element in the Logger.xml file to specify a rotation schedule for log files. Two types of rotation schedules can be established. The first option is to set a daily rotation at a certain time. For example, setting daily at 00:00 rotates files every 24 hours at midnight. Alternatively, set a rotation that occurs when the log exceeds a specified length. Name, maximum file size in kilobytes, and maximum number of log files to keep can also be customized using the

rotation element. For an example, see the Logger.xml file installed in the /conf directory."

Did you modify the Logger.xml file to change the log rotation time? Save a copy of the original file before you modify it.

3. You can also try to use a third party module (this might/might not work for you depending on your system specs): http://www.sitebuddy.com/mod_log_rotate

mod_log_rotate.so seems pretty simple to set-up and implement.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 19, 2014 May 19, 2014
LATEST

Logger.xml is logging AMS logs correctly. My original question was related to Apache logs in /opt/adobe/ams/Apache/logs. The documentation suggests AMS handles apache logs (" Adobe Media Server handles log rotation for the Apache logs.") however it appears not.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines