GitHub user alexmller created a discussion: Making Hop Gui Logging output easier to read
I would like to propose another format for the Logging output in Hop Gui. The current format gives me a hard time spotting errors because action/transform names are written before the ERROR part and have different name lengths: <img width="341" height="167" alt="image" src="https://github.com/user-attachments/assets/37f87a29-2d81-4094-8e5c-6b0a5e95a7ee" /> <br /> There is a nice filter-feature that shows only the error lines: <img width="601" height="143" alt="Logging output with ERROR" src="https://github.com/user-attachments/assets/6634359a-8473-4dab-bd97-b146eb01c0af" /> Unfortunately, investigating a cause regularly requires more context, so I still have to search the Logging output. It would help a lot when information was lined up by: - a fixed log-level written before the action/transform name - a white-space padding on the log-level - no dash between log level and transform name ``` 2025/10/28 11:00:00 [BASIC] CSV file input.0 ... 2025/10/28 11:00:00 [WARNING] CSV file input.0 ... 2025/10/28 11:00:00 [ERROR] CSV file input.0 ... ``` An output like this: ``` 2025/10/28 10:58:41 - Get rows from result.0 - Finished processing (I=0, O=0, R=146, W=292, U=0, E=0) 2025/10/28 11:00:00 - Get rows form result.0 - WARNING: Something terrible happened (I made this up) 2025/10/28 10:58:41 - CSV file input.0 - ERROR: Unexpected error 2025/10/28 10:58:41 - CSV file input.0 - ERROR: org.apache.hop.core.exception.HopException: 2025/10/28 10:58:41 - CSV file input.0 - The filename field 'filename' could not be found. 2025/10/28 10:58:41 - CSV file input.0 - 2025/10/28 10:58:41 - CSV file input.0 - at org.apache.hop.pipeline.transforms.csvinput.CsvInput.getFilenamesFromPreviousTransforms(CsvInput.java:276) 2025/10/28 10:58:41 - CSV file input.0 - at org.apache.hop.pipeline.transforms.csvinput.CsvInput.processRow(CsvInput.java:81) 2025/10/28 10:58:41 - CSV file input.0 - at org.apache.hop.pipeline.transform.RunThread.run(RunThread.java:54) 2025/10/28 10:58:41 - CSV file input.0 - at java.base/java.lang.Thread.run(Thread.java:840) ``` would then become this: ``` 2025/10/28 10:58:41 [BASIC] Get rows from result.0 - Finished processing (I=0, O=0, R=146, W=292, U=0, E=0) 2025/10/28 11:00:00 [WARNING] Get rows form result.0 - Something terrible happened (I made this up) 2025/10/28 10:58:41 [ERROR] CSV file input.0 - Unexpected error 2025/10/28 10:58:41 [ERROR] CSV file input.0 - org.apache.hop.core.exception.HopException: 2025/10/28 10:58:41 [ERROR] CSV file input.0 - The filename field 'filename' could not be found. 2025/10/28 10:58:41 [ERROR] CSV file input.0 - 2025/10/28 10:58:41 [ERROR] CSV file input.0 - at org.apache.hop.pipeline.transforms.csvinput.CsvInput.getFilenamesFromPreviousTransforms(CsvInput.java:276) 2025/10/28 10:58:41 [ERROR] CSV file input.0 - at org.apache.hop.pipeline.transforms.csvinput.CsvInput.processRow(CsvInput.java:81) 2025/10/28 10:58:41 [ERROR] CSV file input.0 - at org.apache.hop.pipeline.transform.RunThread.run(RunThread.java:54) 2025/10/28 10:58:41 [ERROR] CSV file input.0 - at java.base/java.lang.Thread.run(Thread.java:840) ``` GitHub link: https://github.com/apache/hop/discussions/5923 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
