Detailed and unnecessary logs

Moderator: crythias

Locked
Gunjan
Znuny expert
Posts: 228
Joined: 09 Dec 2013, 06:37
Znuny Version: 3.3.x

Detailed and unnecessary logs

Post by Gunjan »

Hi,

I am using otrs 3.3.4. Earlier it was working fine but now suddenly there are too much logs in OTRS. Please have a look on the screenshot
logs.png
What is the reason for this? How can I remove unnecessary logs?
Thanks in Advance!

Regards,
Gunjan
You do not have the required permissions to view the files attached to this post.
ThorstenEckel
Znuny newbie
Posts: 24
Joined: 18 Dec 2013, 16:57
Znuny Version: *.*.*
Company: Znuny GmbH
Location: Berlin
Contact:

Re: Detailed and unnecessary logs

Post by ThorstenEckel »

Hi Gunjan,

this log lines come from the cache backend and are only printed if the the debug mode of your system is active:

OTRS 3.3.4 Kernel/System/Cache.pm line 123:

Code: Select all

    # debug
    if ( $Self->{Debug} > 0 ) {
        $Self->{LogObject}->Log(
            Priority => 'notice',
            Message  => "Set Key:$Param{Key} TTL:$Param{TTL}!",
        );
    }
OTRS 3.3.4 Kernel/System/Cache.pm line 164:

Code: Select all

        if ( $Self->{Debug} > 0 ) {
            $Self->{LogObject}->Log(
                Priority => 'notice',
                Message  => "Get cached Key:$Param{Key}!",
            );
        }
You might check your 'bin/cgi-bin/index.pl' there you can set the debug mode globally...
Znuny4OTRS Extensions auf Github: https://github.com/znuny/
Znuny4OTRS - intl. Enterprise Services: https://znuny.com
Gunjan
Znuny expert
Posts: 228
Joined: 09 Dec 2013, 06:37
Znuny Version: 3.3.x

Re: Detailed and unnecessary logs

Post by Gunjan »

Thank you for the help.
Locked