Skip to Main Content

Energy and Water Technology

Announcement

This area allows you to enter ideas for Oracle Utilities products. You can help promote an idea by:

  • Being as specific as possible about your request.
  • Clearly articulating the benefits. For example, reducing implementation effort or reducing cost to serve.
  • Calling out if you have seen this requirement from other utilities.
  • Voting for suggestions you think should be implemented.

Setting OUAF batch logging level

Ed HammerbeckJun 18 2025 — edited Jun 20 2025

We use CC&B 2.8 (FW 4.4.0.3,) and we have some custom Java batch control programs that perform various tasks. In our Java code, we can create INFO log entries in STDOUT all day long using the com.splwg.shared.logging.LoggerFactory & Logger class. It would be nice to create DEBUG log entries as we do development that we can view in our development instance but do not clutter up the logs in the test & production environments. We have not found the right combination of .properties file settings and code to make that happen.

We have tried setting the root level & appender levels to DEBUG in various properties files. We have even tried explicitly setting the level in code using logger.setLevel(Level.DEBUG). Nothing we try produces the logger.debug() messages in STDOUT. We know setting the debug flags in Batch Job Submission and setting debug mode in the URL using the user interface (debug=true) aren't useful for this purpose.

How do you enable debug messages to get written to STDOUT in this situation?

Comments
Post Details
Added on Jun 18 2025
In Review
0 people have voted for this idea
0 comments
43 views