logging - Migrating custom log4j levels from version 1.x to 2.0 -
our application (spring mvc) uses log4j 1.4 , has custom log4j level (alert extends level). migrating log4j 2, how can migrate custom alert level log4j 2?.
per documentation, loggerconfigs assigned log level. set of possible levels includes (trace, debug, info, warn, error , fatal). note in log4j 2, level enum , cannot sub-classed. users want more granularity encouraged utilize markers instead.
i not sure how marker can replace custom log4j level. thoughts?
logging log4j log4j2
No comments:
Post a Comment