Can I see ALL the System Log entries?

OTRS 1.3 /otrs/index.pl?Action=AdminLog When I look at the System Log, I can see recent events, but is there a way I can go somewhere to see the ENTIRE log so I can research events that didn't only just happen very-recently? -- Wes Plate Automatic Duck, Inc. http://www.automaticduck.com

Hello! On 18 Jul 2005 at 10:28, Wes Plate wrote:
OTRS 1.3
/otrs/index.pl?Action=AdminLog
When I look at the System Log, I can see recent events, but is there a way I can go somewhere to see the ENTIRE log so I can research events that didn't only just happen very-recently?
In the past I tried to modify the code in order to show more lines in that page, but I had no success :( I'm going to ask for this feature in the [dev] list, maybe there's enough time to include it for 2.0! Anyway, I believe that by default OTRS logs to syslog (look for $Self-
{LogModule} in Config.pm or Defaults.pm). If you are using a log file instead of syslog, with $Self->{'LogModule::LogFile'} you can specify which file to use.
-- Wes Plate Automatic Duck, Inc. http://www.automaticduck.com
Hope this helps! Regards, --- Victor R. Rodriguez Departamento de Sistemas Valoraciones del Mediterraneo, S.A. ---

On 7/20/05 2:12 AM, "Victor Rodriguez Cortes" wrote:
When I look at the System Log, I can see recent events, but is there a way I can go somewhere to see the ENTIRE log so I can research events that didn't only just happen very-recently?
In the past I tried to modify the code in order to show more lines in that page, but I had no success :( I'm going to ask for this feature in the [dev] list, maybe there's enough time to include it for 2.0!
Anyway, I believe that by default OTRS logs to syslog (look for $Self-
{LogModule} in Config.pm or Defaults.pm). If you are using a log file instead of syslog, with $Self->{'LogModule::LogFile'} you can specify which file to use.
Thank you for replying. This is what my Defaults.pm file says... # LogModule # # --------------------------------------------------- # # (log backend module) $Self->{LogModule} = 'Kernel::System::Log::SysLog'; # $Self->{LogModule} = 'Kernel::System::Log::File'; # param for LogModule Kernel::System::Log::SysLog # $Self->{'LogModule::SysLog::Facility'} = 'user'; # param for LogModule Kernel::System::Log::SysLog # (if syslog can't work with utf-8, force the log # charset with this option, on other chars will be # replaces with ?) # $Self->{'LogModule::SysLog::Charset'} = 'iso-8859-15'; # $Self->{'LogModule::SysLog::Charset'} = 'utf-8'; # param for LogModule Kernel::System::Log::File (required!) $Self->{'LogModule::LogFile'} = '/tmp/otrs.log'; # param if the date (yyyy-mm) should be added as suffix to # logfile [0|1] # $Self->{'LogModule::LogFile::Date'} = 0; # system log cache size for admin system log (default 4k) # $Self->{LogSystemCacheSize} = 4*1024; ...This makes me think that the log file is at /tmp/otrs.log, but it is not. Or am I using SysLog? (I don't know perl and unix all that well) When I search for "SysLog" I get (none of which look like OTRS logs)... [root@support root]# find / -name "syslog" /var/lock/subsys/syslog /etc/sysconfig/syslog /etc/rc.d/init.d/syslog /etc/logrotate.d/syslog /etc/webmin/syslog /usr/libexec/webmin/caldera/syslog /usr/libexec/webmin/mscstyle3/syslog /usr/libexec/webmin/syslog -- Wes Plate Automatic Duck, Inc. http://www.automaticduck.com

On 20 Jul 2005 at 5:28, Wes Plate wrote:
# LogModule # # --------------------------------------------------- # # (log backend module) $Self->{LogModule} = 'Kernel::System::Log::SysLog'; # $Self->{LogModule} = 'Kernel::System::Log::File';
Here you have it: you're using syslog! Your $Self->{LogModule} variable is pointing to syslog, not to a Log File...
...This makes me think that the log file is at /tmp/otrs.log, but it is not. Or am I using SysLog? (I don't know perl and unix all that well)
Syslog is a very useful thing. It's one of the first things you should learn about linux/unix, as it will allow you to diagnose lot's of problems ;)
When I search for "SysLog" I get (none of which look like OTRS logs)...
[root@support root]# find / -name "syslog" /var/lock/subsys/syslog /etc/sysconfig/syslog /etc/rc.d/init.d/syslog /etc/logrotate.d/syslog /etc/webmin/syslog /usr/libexec/webmin/caldera/syslog /usr/libexec/webmin/mscstyle3/syslog /usr/libexec/webmin/syslog
Probably, you can find it in /var/log/messages, but check /etc/syslog.conf to see all the files that syslog is logging to. You'll have many other things here, along with OTRS messages.
-- Wes Plate Automatic Duck, Inc. http://www.automaticduck.com
Regards, --- Victor R. Rodriguez Departamento de Sistemas Valoraciones del Mediterraneo, S.A. ---

On 7/20/05 5:51 AM, "Victor Rodriguez Cortes" wrote:
Probably, you can find it in /var/log/messages, but check /etc/syslog.conf to see all the files that syslog is logging to. You'll have many other things here, along with OTRS messages.
Aha! THANK YOU. That's helpful. -- Wes Plate Automatic Duck, Inc. http://www.automaticduck.com

Hi Victor and Wes, On Wed, Jul 20, 2005 at 05:28:08AM -0700, Wes Plate wrote:
On 7/20/05 2:12 AM, "Victor Rodriguez Cortes" wrote:
When I look at the System Log, I can see recent events, but is there a way I can go somewhere to see the ENTIRE log so I can research events that didn't only just happen very-recently?
In the past I tried to modify the code in order to show more lines in that page, but I had no success :( I'm going to ask for this feature in the [dev] list, maybe there's enough time to include it for 2.0!
On unix and linux platforms, the log entrys in the system log area in the admin interface are generated via ipc. It is possible to increase the cache for loging via the parameter $Self->{LogSystemCacheSize} = 4*1024; See the linux tools ipcs and ipcrm for the ipc management. Aditionaly OTRS logs to syslog or to a specified file. And last but not least also the apache logs contain OTRS messages. Regards, Christian -- ((otrs)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!
participants (3)
-
Christian Schoepplein
-
Victor Rodriguez Cortes
-
Wes Plate