Why is the file named catalina.out?
source link: https://www.codesd.com/item/why-is-the-file-named-catalina-out.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Why is the file named catalina.out?
in contrast to other logs file
catalina.out
has different extension. I have check logging.properties and found nothing about .out. Why and where this is set? Thanks.
Catalina.out simply contains everything that is written to Tomcat's "System.out" and "System.err".
The name "catalina.out" comes from the catalina.sh script that is conventionally used to launch Tomcat. If you want to change the name ... or do something funky with your out/err streams ... you can hack the script, or replace it with an alternative launch script.
The origin of the name "Catalina" is explained here.
I have check logging.properties and found nothing about .out.
The redirection of the standard output / error streams to catalina.out happens in the catalina.sh
script.
Related Articles
Why should the file be backed up before execution?
C ++ Why is the file not added or overwritten?
Use MD5 or random for the file naming?
Why does the File.ReadAllBytes result differ only when using File.ReadAllText?
Why is the file accessible after deletion in unix?
Why was the file created on this path?
Why does the file permission change after downloading the file using sftp?
Divide the CSVs into the files named for one of the columns
Why is the file size in bytes not equal to the size of the byte added to each line?
Error processing the file named sonar-reports / oclint.xml
Why does the file size decrease after encryption using offset encryption?
Apply the file naming convention on Windows Share?
Why is the FILE structure of stdio.h written in upper case?
Why is the Docker volume running out of space?
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK