You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
trino log format is different from other hadoop components, e.g. hive. I want to change trino log format to hive log format, how to customize trino log format?
Here is hive log example:
2023-06-05T16:09:47,297 INFO [main] SessionState:
Logging initialized using configuration in file:/opt/chinaunicom/hive-2.3.9/conf/hive-log4j2.properties Async: true
2023-06-05T16:09:48,705 INFO [main] session.SessionState: Created HDFS directory: /tmp/hive/root/2489acda-59be-4cdf-9283-78f2a2cc9b38
Here is trino log example:
2024-04-08T10:07:48.026+0800 DEBUG main io.trino.util.CompilerUtils Defining class: io/trino/$gen/Trino_423____20240408_020748_2
2024-04-08T10:07:50.438+0800 INFO main org.eclipse.jetty.server.Server jetty-11.0.15; built: 2023-04-11T18:37:53.775Z; git: 5bc5e562c8d05c5862505aebe5cf83a61bdbcb96; jvm 17.0.7+7-LTS
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
trino log format is different from other hadoop components, e.g. hive. I want to change trino log format to hive log format, how to customize trino log format?
Here is hive log example:
2023-06-05T16:09:47,297 INFO [main] SessionState:
Logging initialized using configuration in file:/opt/chinaunicom/hive-2.3.9/conf/hive-log4j2.properties Async: true
2023-06-05T16:09:48,705 INFO [main] session.SessionState: Created HDFS directory: /tmp/hive/root/2489acda-59be-4cdf-9283-78f2a2cc9b38
Here is trino log example:
2024-04-08T10:07:48.026+0800 DEBUG main io.trino.util.CompilerUtils Defining class: io/trino/$gen/Trino_423____20240408_020748_2
2024-04-08T10:07:50.438+0800 INFO main org.eclipse.jetty.server.Server jetty-11.0.15; built: 2023-04-11T18:37:53.775Z; git: 5bc5e562c8d05c5862505aebe5cf83a61bdbcb96; jvm 17.0.7+7-LTS
Beta Was this translation helpful? Give feedback.
All reactions