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)...

[EMAIL PROTECTED] 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


_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support oder Consulting für Ihr OTRS System?
=> http://www.otrs.de/

Reply via email to