You can modify the default values for the properties, including the log file path and name, the log level, and the rolling log.
您可以修改属性默认值,包括日志文件路径和名称、日志级别和回滚日志。
Next, create a variable called logfile and put in a path to a file (it doesn't need to exist yet) where you'll actually store log file messages.
接下来,创建一个logfile变量,并在文件中添加一个实际存储日志文件消息的路径(该文件不需要实际存在)。
You can press Enter to accept the default location, or you can enter the full path to your log file directory.
您可以按Enter 键接受默认名称,也可以输入您的日志文件名称。
If you want to enable logging, you can opt for the standard Linux log files by including a useSyslog line, or you can use a specific file of your own by including LogFile=/the/full/path/to/your/file.
如果希望启用日志记录,可以通过包含useSyslog 行使用标准的Linux日志文件,也可以通过包含 LogFile=/the/full/path/to/your/file使用自己的文件。
The active log path is determined either by the path to log Files (logpath) or Changed path to log Files (newlogpath) value in the database configuration file.
活动日志路径由数据库配置文件中的“日志文件路径(pathtolog Files) (logpath)”或“更改的日志文件路径(Changedpath tolog Files) (newlogpath)”值确定。
The active log path is determined either by the path to log Files (logpath) or Changed path to log Files (newlogpath) value in the database configuration file.
活动日志路径由数据库配置文件中的“日志文件路径(pathtolog Files) (logpath)”或“更改的日志文件路径(Changedpath tolog Files) (newlogpath)”值确定。
应用推荐