Can't connect to syslog when using File logging????

I have logging set to file, and it's logging to that file. Today I decided to test out the phone ticket system (since I never ran it before, want to amke sure everything works before this goes live). After clicking "search customer" button on it after entering part of an email I get the "Cannot connect to syslog" error. Why am I getting this error when it shouldn't be using syslog at all? --Matthew Shapiro

Um ok... it seends to be giving me this error Everywehre now but in the Config.pm I still have: $Self->{LogModule::LogFile} = 'home4/system/otrs/otrs.log'; $self->{LogModule} = 'Kernel::System::Log::File'; Any ideas? --Matthew Shapiro --- kalldrex-otrs@yahoo.com wrote:
I have logging set to file, and it's logging to that file. Today I decided to test out the phone ticket system (since I never ran it before, want to amke sure everything works before this goes live). After clicking "search customer" button on it after entering part of an email I get the "Cannot connect to syslog" error. Why am I getting this error when it shouldn't be using syslog at all?
--Matthew Shapiro _______________________________________________ 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/

Ok I think I found a bug. I edited the Kernal/Config/Defaults.pm and modified the LogModule to use File in there. Now it works. Isn't Config.pm supposed to take priority (hell I thought defaults.pm wasn't used at all, just to show syntax). Do I have to make all my edits in BOTH places? I think this is a bug though as it only spontaneously started using the Defaults.pm. Anyone know if this is a bug or not? --Matthew Shapiro --- kalldrex-otrs@yahoo.com wrote:
Um ok... it seends to be giving me this error Everywehre now but in the Config.pm I still have:
$Self->{LogModule::LogFile} = 'home4/system/otrs/otrs.log'; $self->{LogModule} = 'Kernel::System::Log::File';
Any ideas?
--Matthew Shapiro --- kalldrex-otrs@yahoo.com wrote:
I have logging set to file, and it's logging to that file. Today I decided to test out the phone ticket system (since I never ran it before, want to amke sure everything works before this goes live). After clicking "search customer" button on it after entering part of an email I get the "Cannot connect to syslog" error. Why am I getting this error when it shouldn't be using syslog at all?
--Matthew Shapiro _______________________________________________ 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/
_______________________________________________ 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/

kalldrex-otrs@yahoo.com schrieb:
Ok I think I found a bug.
You didn't.
I edited the Kernal/Config/Defaults.pm and modified the LogModule to use File in there.
***BEEP*** ****BEEP*** ***BEEP*** Bad idea as you will loose changes when updating.
Now it works. Isn't Config.pm supposed to take priority (hell I thought defaults.pm
It does.
wasn't used at all, just to show syntax). Do I have to make all my edits in BOTH places? I think this is
No, simply _copy'n'paste_ the optios from Defaults.pm.
a bug though as it only spontaneously started using the Defaults.pm. Anyone know if this is a bug or not?
Your fault lies in using $self->{LogModule}, not $Self->{LogModule} hth, Robert Kehl

Ohhh! I must have pressed a bad key over the s in vi
while editing it haha. Thanks a lot :)
--Matthew Shapiro
--- Robert Kehl
kalldrex-otrs@yahoo.com schrieb:
Ok I think I found a bug.
You didn't.
I edited the Kernal/Config/Defaults.pm and modified the LogModule to use File in there.
***BEEP*** ****BEEP*** ***BEEP*** Bad idea as you will loose changes when updating.
Now it works. Isn't Config.pm supposed to take priority (hell I thought defaults.pm
It does.
wasn't used at all, just to show syntax). Do I have to make all my edits in BOTH places? I think this is
No, simply _copy'n'paste_ the optios from Defaults.pm.
a bug though as it only spontaneously started using the Defaults.pm. Anyone know if this is a bug or not?
Your fault lies in using $self->{LogModule}, not $Self->{LogModule}
hth,
Robert Kehl _______________________________________________ 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/
participants (2)
-
kalldrex-otrs@yahoo.com
-
Robert Kehl