How to enable debug mode

Moderator: crythias

Locked
Nisha
Znuny newbie
Posts: 6
Joined: 22 Dec 2011, 21:55
Znuny Version: otrs 3.0

How to enable debug mode

Post by Nisha »

Hi,

How to enable debug mode in otrs 3.0?

Thanks
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: How to enable debug mode

Post by jojo »

Please be more specific. Debug mode will be enabled in the Perl modules if needed.
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
banzayats
Znuny newbie
Posts: 12
Joined: 12 Dec 2011, 10:05
Znuny Version: OTRS 3.1.0.beta2
Company: Eximbank
Location: Kiev, Uktraine

Re: How to enable debug mode

Post by banzayats »

There are lot of strings like

Code: Select all

# 0=off; 1=on;
    $Self->{Debug} = $Param{Debug} || 0;
or

Code: Select all

# 0=off; 1=updates; 2=+selects; 3=+Connects;
    $Self->{Debug} = $Param{Debug} || 0;
in the code. But where can I setup debug level?
I`ve tried to change it in the Config.pm by adding

Code: Select all

$self->{debug} = 3;
but nothing happened. Debug messages didn't appear in log.
What am i doing wrong?
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: How to enable debug mode

Post by jojo »

it should be Debug instead of debug
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Locked