Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
Anonymous_User Absent Member.
Absent Member.
252 views

Debug Logging


Does anyone know how to turn on debug logging? I went into Identity
Server -> General -> Logging and set all the component file logger
levels to debug and recreated the issues I'm seeing. I did not see
anything extra in the logs when I looked at them. Thanks


--
bradlean
------------------------------------------------------------------------
bradlean's Profile: https://forums.netiq.com/member.php?userid=8310
View this thread: https://forums.netiq.com/showthread.php?t=51978

0 Likes
4 Replies
Anonymous_User Absent Member.
Absent Member.

Re: Debug Logging

bradlean <bradlean@no-mx.forums.netiq.com> wrote:
> Does anyone know how to turn on debug logging? I went into Identity
> Server -> General -> Logging and set all the component file logger
> levels to debug and recreated the issues I'm seeing. I did not see
> anything extra in the logs when I looked at them. Thanks


Did you deploy the changes (push update to both identity server and access
gateway)



--
If you find this post helpful and are logged into the web interface, show
your appreciation and click on the star below...
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Debug Logging


It would help to know what issue you are seeing to determine what
logging you need and what to look for.


--
aaronsayer
------------------------------------------------------------------------
aaronsayer's Profile: https://forums.netiq.com/member.php?userid=500
View this thread: https://forums.netiq.com/showthread.php?t=51978

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Debug Logging

On 10/16/2014 4:38 PM, Alex McHugh wrote:
> bradlean <bradlean@no-mx.forums.netiq.com> wrote:
>> Does anyone know how to turn on debug logging? I went into Identity
>> Server -> General -> Logging and set all the component file logger
>> levels to debug and recreated the issues I'm seeing. I did not see
>> anything extra in the logs when I looked at them. Thanks

>
> Did you deploy the changes (push update to both identity server and access
> gateway)
>
>
>

depending on the version of NAM you are on you may also toggle the echo to console check box. On some older versions not
having that resulted in no output and in some versions having it resulted in no output. (Yipee!!)

--
-----------------------------------------------------------------------
Will Schneider
Knowledge Partner http://forums.netiq.com

If you find this post helpful, please click on the star below.
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Debug Logging

bradlean wrote:

>
> Does anyone know how to turn on debug logging? I went into Identity
> Server -> General -> Logging and set all the component file logger
> levels to debug and recreated the issues I'm seeing. I did not see
> anything extra in the logs when I looked at them. Thanks


This is the part of NAM that is a little confusing. There's a bunch of
components. There's the AMC (which rarely requires debugging), the IDP
(which uses the logging you've been playing around with) and then the
ESP and Proxy/Gateway component.

The ESP logging is controlled through the log settings of the IDP. This
is why when you modify the log settings on the IDP it triggers a update
for the Access Gateways as well.

The logging for the gateways is controlled through either a file or
startup option. If you are still running appliance of version 3.1 then
logging is controlled /etc/laglogs.conf. The default log setting is 5,
7 is the highest and most useful for debugging issues in my opinion.

If you run the gateway based on apache (3.2 and higher) then you can
start apache in 'debug' mode. /etc/init.d/novell-apache2 restart debug.
Once you've set apache in debug and you restart it, it will still
operate in debug mode as it simply sets a touch file. To disable it run
/etc/init.d/novell-apache2 restart nodebug

Running apache in debug mode gives you some information but I
preferably add this option in the advanced settings for the gateway in
the admin console as well:

NAGGlobalOptions DebugHeaders=on
DumpHeaders=on
DumpHeadersFacility user

This would give you pretty much all the info you require to
troubleshoot a lot of issues. Just don't leave them enabled when
running in normal 'production mode' as they create a lot of overhead
loggingwise.

Hopefully this helps.

--
Cheers,
Edward
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.