-
Feature Request
-
Resolution: Unresolved
-
Major
-
None
-
2.5
-
False
-
-
False
Description:
In case of containerized installation we can check the logs using the journalctl command however, the logs are not saved to a file.
In RPM based installation we could check the logs in tower.log or job_lifecycle.log files.
Cu is able to check the logs using journalctl command but want this to be saved in a file.
Cu is using the following workaround for now which is not tested and hence not supported:
vim /etc/system/journal.conf # forward all messages to the local syslog daemon ForwardToSyslog=yes # point it at your bind-mounted socket SyslogSocket=/home/aap/aap/controller/rsyslog/run/rsyslog.sock vim /etc/rsyslog.d/30-journal.conf # /etc/rsyslog.d/30-journal.conf # Use the imjournal input module (preferred) to read from the journal socket module(load="imjournal" StateFile="imjournal.state") # Write everything to a single plain-text file *.* -/var/log/journal.log
Looking for a supported way to achieve this.