lithnet / access-manager

Access Manager provides web-based access to local admin (LAPS) passwords, BitLocker recovery keys, and just-in-time administrative access to Windows computers in a modern, secure, and user-friendly way.
Other
239 stars 20 forks source link

Couldnot find log format Documentation #167

Closed collegenote closed 2 years ago

collegenote commented 2 years ago

Hello there, I could not find the log format documentation. Let me know where could I get the documentation to know the log field? Thanks

ryannewington commented 2 years ago

Hi @collegenote

Can you elaborate a bit more on what you are looking to get from or do with the logs?

collegenote commented 2 years ago

I want to understand /extract log value to get complete picture what exactly the individual log mean.

ryannewington commented 2 years ago

If you are referring to the log file, then the format used to build the log entry is as follows

"${longdate}|${loglevel}|${loggername}|${message}${onexception:inner=${newline}${exceptionMessage}}"

If that's not what you are after, if you can include a log entry and tell me what you want to extract from it I might be able to be of more help.

collegenote commented 2 years ago

Thanks for the format but i am seeking for possible value and meaning of individual log's entry . For Instance event id and its corresponding meaning if those event id signified some things .

ryannewington commented 2 years ago

We don't have anything like that published, but the definitive list of event IDs, and a very basic description can be inferred from the internal name.

https://github.com/lithnet/access-manager/blob/master/src/Lithnet.AccessManager/Lithnet.AccessManager/EventIDs.cs

collegenote commented 2 years ago

thanks for help