It isn't possible to achieve what you want without modifying the IBM core classes.
Modifying the classes would break the license agreement and meant hat IBM would not support the software.
The best solution would be to use operating system level security controls to restrict access to the log files. Generally only system administrators should have access to the logs because of the information stored in them.
------------------------------
Mark Robbins
Support Lead/Technical Design Authority / IBM Champion 2017 - 2023
Cohesive (previously Vetasi Limited)
https://www.linkedin.com/pulse/maximo-support-advice-from-non-ibm-engineer-article-mark-robbins/------------------------------
Original Message:
Sent: Fri January 12, 2024 01:41 AM
From: Suhas Joshi
Subject: MXLogger and MXLoggerFactory classes
Hi,
Just to elaborate more on this, we are looking for solution to below problem statement:
If I set the log to DEBUG say for example for integrations, it will print the complete payload in the logs where it may also log some sensitive information about clients data. We want to avoid that data to be printed in the logs. So we are essentially trying to overwrite the product behavior. Is this possible?
Regards,
Suhas
------------------------------
Suhas Joshi
Pune
------------------------------
Original Message:
Sent: Tue January 09, 2024 07:24 AM
From: Suhas Joshi
Subject: MXLogger and MXLoggerFactory classes
Couple of things we want to try. Either try and extend this class and see if we can add additional info on top of what Maximo already has (like username, ip address etc.) OR see if we can create altogether a custom logger just like MXLogger and add custom solution on top of it. For the second part I wanted to understand what it takes to make Maximo understand that it has to point to new custom logger instead of MXLogger.
Regards,
Suhas
------------------------------
Suhas Joshi
Pune
Original Message:
Sent: Tue January 09, 2024 06:54 AM
From: Andrey Ilinskiy
Subject: MXLogger and MXLoggerFactory classes
Hi!
It is defined in class for logging services.
But what do you want to achieve in the final?
------------------------------
Andrey Ilinskiy
Handz.on
https://www.on.de/
München