Anonymous_User Absent Member.
Absent Member.
172 views

Log or trace : differences ?


Hello.


In driver configuration, we have multiple options for logging error.
Which option for which case ? It isn't clear for me. I have read "Common
Driver Administration Guide" documentation (A.4 and A.9), but, in my
opinion, it's not precise enough.

Is "Log Level" tab reserved for logging with a external audit
application like Sentinel or Identity Reporting Module ? Or it is just
"XDAS error" part ? "Log Level" tab impacts DirXML-StatusLog attributs
(Suscriber and Publisher) ?

I use "Misc" tab for debugging driver in trace file. We can also use
DSTrace. There are reason to use DSTrace in place of trace file
(performance...) ? Others questions on "Trace level" : in documentation,
level 1 and level 5 are described. What means level 2, 3... ? What is
the maximum level ?

If we use trace ("Misc" tab), should we disabled log ("Log Level" tab)
?


Thanks for information, I am lost…


Lilian Gallet


--
lgallet
------------------------------------------------------------------------
lgallet's Profile: https://forums.netiq.com/member.php?userid=5343
View this thread: https://forums.netiq.com/showthread.php?t=50642

Labels (1)
0 Likes
3 Replies
Anonymous_User Absent Member.
Absent Member.

Re: Log or trace : differences ?

These perform two different functions. You are correct in your statements.

1. Tracing is for debugging, higher trace levels degrade performance and should be disabled on production systems when debugging is completed..
2. Trace to file is more reliable (no dropped events if the load is high)
3. Trace level 3 is the minimum to really debug a problem. Normally trace level 3 is sufficent for both engine and driver shim troubleshooting.

Trace levels 0 to 3 are detailed here:

https://www.netiq.com/documentation/idm402/designer_admin/data/configdrivers.html#configdrtracelevels

I know that engine shows more information related to driver event caching if you use trace level 4, other than that, trace levels higher than 3 for the engine are undocumented.

For driver shims, the maximum level varies depending (the highest I know of is the JDBC driver which goes to trace level 25).
The trace levels relevant to a specific driver should be detailed in that driver's documentation (however even then some trace levels remain undocumented). For example JDBC is only documented as having 7 trace levels.
https://www.netiq.com/documentation/idm402drivers/jdbc/data/aay1cjs.html

The details which are output at trace levels above 3 vary dramatically from driver to driver. Generally Trace level 3 is sufficent here also.

For jobs, there seems to only be two trace levels (0 and 1)

4. Logging is indeed to send to an external audit app and can be enabled always.
5. You can have both trace(debug) and log(audit) enabled at the same time.

--
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: Log or trace : differences ?

On Thu, 24 Apr 2014 08:05:10 +0000, lgallet wrote:

> In driver configuration, we have multiple options for logging error.


The "log" here is virtually useless. Your best bet is to disable it.

> I use "Misc" tab for debugging driver in trace file. We can also use
> DSTrace. There are reason to use DSTrace in place of trace file
> (performance...) ?


Use the trace file. Don't use dstrace. dstrace can't always keep up with
the trace, so will lose lines, leading to confusion. The trace file gets
you everything.


> Others questions on "Trace level" : in documentation,
> level 1 and level 5 are described. What means level 2, 3... ? What is
> the maximum level ?


3 is the most verbose you're probably likely to want. 5 is, IIRC, the
highest documented level. Levels higher than that tend to be driver
specific and you'd have to look at the driver in question to see if it
supports or uses the higher levels.


--
--------------------------------------------------------------------------
David Gersic dgersic_@_niu.edu
Knowledge Partner http://forums.netiq.com

Please post questions in the forums. No support provided via email.
If you find this post helpful, please click on the star below.
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Log or trace : differences ?


Thanks, it is more clear.


--
lgallet
------------------------------------------------------------------------
lgallet's Profile: https://forums.netiq.com/member.php?userid=5343
View this thread: https://forums.netiq.com/showthread.php?t=50642

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.