
hi, I've got the following in Config.pm: $Self->{LogModule} = 'Kernel::System::Log::File'; $Self->{LogModule::LogFile} = '/var/log/otrs.log'; I have restarted both apache and otrs since adding that to the Config. it's still writing to the syslog instead of /var/log/otrs.log any ideas what i may be doing wrong? thanks, ~Steven

On Monday, March 22, 2004 9:02 PM
Steven Shults
$Self->{LogModule::LogFile} = '/var/log/otrs.log';
For the sake, try: $Self->{'LogModule::LogFile'} = '/var/log/otrs.log'; hth, Robert Kehl -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Tel. +49 (0)6172 4832388

hi robert, the string you suggest is identical to the string i'm already using. were you intending to suggest something different? thanks, ~steven On Mon, 22 Mar 2004, Robert Kehl wrote:
On Monday, March 22, 2004 9:02 PM Steven Shults
wrote: $Self->{LogModule::LogFile} = '/var/log/otrs.log';
For the sake, try:
$Self->{'LogModule::LogFile'} = '/var/log/otrs.log';
hth,
Robert Kehl

On Monday, March 22, 2004 9:38 PM
Steven Shults
the string you suggest is identical to the string i'm already using.
It's not the assigned string... Well, have a closer look at the two: $Self->{LogModule::LogFile} = '/var/log/otrs.log'; $Self->{'LogModule::LogFile'} = '/var/log/otrs.log'; It shouldn't make a difference, bokn... hth, Robert Kehl -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Tel. +49 (0)6172 4832388

It's not the assigned string... Well, have a closer look at the two:
$Self->{LogModule::LogFile} = '/var/log/otrs.log'; $Self->{'LogModule::LogFile'} = '/var/log/otrs.log';
It shouldn't make a difference, bokn...
indeed, it didn't make a difference. if it were to be working, which user and group would it be written with? thanks, ~steven

On Monday, March 22, 2004 11:17 PM
Steven Shults
if it were to be working, which user and group would it be written with?
at least otrs.apache... hth, Robert Kehl -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Tel. +49 (0)6172 4832388

problem was perms on /var/log otrs:apache cannot write to a directory which only has write perms for root On Mon, 22 Mar 2004, Steven Shults wrote:
It's not the assigned string... Well, have a closer look at the two:
$Self->{LogModule::LogFile} = '/var/log/otrs.log'; $Self->{'LogModule::LogFile'} = '/var/log/otrs.log';
It shouldn't make a difference, bokn...
indeed, it didn't make a difference.
if it were to be working, which user and group would it be written with?
thanks, ~steven

On Monday, March 22, 2004 11:33 PM
Steven Shults
problem was perms on /var/log otrs:apache cannot write to a directory which only has write perms for root
Glad to hear it's working. Please take into account there might be mechanisms that will reset the permissions somthing unwanted. Mandrake's highly usable 'msec' were a candidate for this, depending on the security level you set. There are other security software products on the market performing the same or similar. Feel free to ask ((otrs.de)) for further assistance in security-related problem fields. Regards, Robert Kehl -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Tel. +49 (0)6172 4832388
participants (2)
-
Robert Kehl
-
Steven Shults