Sys::Syslog is a core module of perl. Changing the method to Syslog $Self->{LogModule} = 'Kernel::System::Log::SysLog'; $Self->{'LogModule::SysLog::LogSock'} = 'eventlog'; Theoretically, you should be able to see if this works quite quickly.
On Tue, Mar 26, 2013 at 9:03 AM, Bogdan Iosif <bogdan.io...@gmail.com>wrote: > I'm running on Windows so I can't use neither SysLog or logrotate (I > think). > > Do you know if OTRS holds a file lock on "otrs.log"? > > Worst case I could write something that periodically checks this file's > size and when a threshold is reached it just moves it to some storage / > archive. I was hoping OTRS's code uses a logging framework - like log4* - > that can be configured to handle all these log file management options but > it looks like that's not the case. > > > > On Tue, Mar 26, 2013 at 2:43 PM, Gerald Young <cryth...@gmail.com> wrote: > >> You don't have to use LogFile. You can use SysLog and handle that way, >> even sending to Windows Event Viewer. >> http://forums.otterhub.org/viewtopic.php?f=60&t=16826 >> >> Or just use logrotate. >> >> >> >> >> On Tue, Mar 26, 2013 at 5:59 AM, Bogdan Iosif <bogdan.io...@gmail.com>wrote: >> >>> Hi list, >>> >>> I'm trying to keep the size of LogModule::LogFile in check in a better >>> way than allowed by configuring LogModule::LogFile::Date, which gives me >>> rollover to a new file every month. >>> >>> A config that allows limiting the log file size (with overwrite when >>> threshold is reached or rolling over to a new file) is what I'm looking for. >>> >>> Does OTRS have something like that? >>> >>> /bogdan >>> >>> >>> --------------------------------------------------------------------- >>> 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 >>> >> >> >> --------------------------------------------------------------------- >> 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 >> > > > --------------------------------------------------------------------- > 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 >
--------------------------------------------------------------------- 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