colramos-amd
b1d0b3905c
Extending log coloring to message text. Enable by default.
...
Signed-off-by: colramos-amd <colramos@amd.com >
2024-04-01 14:30:21 -05:00
coleramos425
706afa7f37
Register TRACE loglevel ahead of parse_args to avoid error in --specs printout
...
Signed-off-by: coleramos425 <colramos@amd.com >
2024-04-01 14:30:21 -05:00
Cole Ramos
f7394bf272
Revert #333 deterministic ordering ( #337 )
...
* Revert "formatting"
This reverts commit e387561791898467371b6219921f10447d3486b3.
* Revert "Implement deterministic ordering of perfmon"
This reverts commit 2a24600a37c8002838145962a957cea447555b0c.
2024-04-01 14:30:21 -05:00
Nicholas Curtis
f6f6165379
formatting
...
Signed-off-by: Nicholas Curtis <nicurtis@amd.com >
2024-04-01 14:30:21 -05:00
Karl W Schulz
69de978d35
tweak logger formatter to suppor OMNIPERF_COLOR=2 which includes the
...
loglevel name in output, but without color
Signed-off-by: Karl W Schulz <karl.schulz@amd.com >
2024-03-15 09:31:22 -05:00
Karl W Schulz
3438bc9d0f
logger update: assign color for TRACE level
...
Signed-off-by: Karl W Schulz <karl.schulz@amd.com >
2024-03-14 17:37:30 -05:00
Karl W Schulz
69af2ffc83
update logging formatter handling for consistent behavior with error messsages
...
Signed-off-by: Karl W Schulz <karl.schulz@amd.com >
2024-03-14 17:37:30 -05:00
Karl W Schulz
34070394eb
allow color formatter via env variable OMNIPERF_COLOR=1
...
Signed-off-by: Karl W Schulz <karl.schulz@amd.com >
2024-03-11 14:19:01 -05:00
Karl W Schulz
505e263279
rework of logger.py setup to introduce another setup_file_handler() -
...
this function enables file-based logger output for use with profile
mode
Signed-off-by: Karl W Schulz <karl.schulz@amd.com >
2024-03-11 14:19:01 -05:00
Karl W Schulz
e24e6c35a5
refactor logging initialization into two steps:
...
(1) setup_logging_handler -> called prior to arg parsing
(2) setup_logging_priority -> called after arg parsing
Signed-off-by: Karl W Schulz <karl.schulz@amd.com >
2024-03-11 14:19:01 -05:00
Karl W Schulz
abd3d20cb2
add quietmode option to setup_logging function
...
Signed-off-by: Karl W Schulz <karl.schulz@amd.com >
2024-03-11 14:19:01 -05:00
Karl W Schulz
bdfc536ade
update setup_logging function to return loglevel; disable inclusion of
...
loglevel delimiter in output
Signed-off-by: Karl W Schulz <karl.schulz@amd.com >
2024-03-11 14:19:01 -05:00
colramos-amd
f2aac37178
Fix python formatting
...
Signed-off-by: colramos-amd <colramos@amd.com >
2024-03-11 14:19:01 -05:00
colramos-amd
5ed9a5c902
Connect verbosity flag to loglevel
...
Signed-off-by: colramos-amd <colramos@amd.com >
2024-03-11 14:19:01 -05:00
colramos-amd
2e09f0be7e
Standalone logging module for cleaner omniperf_base.py
...
Signed-off-by: colramos-amd <colramos@amd.com >
2024-03-11 14:19:01 -05:00