gpt4 book ai didi

ubuntu - Ubuntu 20.04 上 Odoo 15 日志文件的位置在哪里

转载 作者:行者123 更新时间:2023-12-04 19:05:44 29 4
gpt4 key购买 nike

我在 Ubuntu 20.04 上找不到 Odoo 15 的 Odoo 日志文件。 /var/log 没有与日志记录相关的 Odoo 文件夹或文件

root@admin:/var/log# ls -l
total 4648
-rw-r--r-- 1 root root 11701 Nov 19 03:50 alternatives.log
drwxr-x--- 2 root adm 4096 Nov 22 00:00 apache2
drwxr-xr-x 2 root root 4096 Nov 19 07:16 apt
-rw-r----- 1 syslog adm 855529 Nov 22 03:28 auth.log
-rw-r----- 1 syslog adm 1181873 Nov 21 00:00 auth.log.1
-rw-rw---- 1 root utmp 2396545 Nov 22 03:28 btmp
-rw-r--r-- 1 root adm 0 May 25 19:28 dmesg
-rw-r--r-- 1 root root 135962 Nov 19 07:17 dpkg.log
drwxr-s--- 2 Debian-exim adm 4096 Nov 22 00:10 exim4
-rw-r--r-- 1 root root 3520 Nov 19 02:55 faillog
-rw-r--r-- 1 root root 1702 Nov 19 07:17 fontconfig.log
drwxr-sr-x+ 3 root systemd-journal 4096 May 25 19:28 journal
-rw-rw-r-- 1 root utmp 32120 Nov 22 03:28 lastlog
drwxrwxr-t 2 root postgres 4096 Nov 21 00:00 postgresql
drwx------ 2 root root 4096 May 25 02:07 private
-rw-r----- 1 syslog adm 4205 Nov 22 03:25 syslog
-rw-r----- 1 syslog adm 19414 Nov 22 00:00 syslog.1
-rw-r----- 1 syslog adm 7848 Nov 21 00:00 syslog.2.gz
-rw-r----- 1 syslog adm 10919 Nov 20 00:00 syslog.3.gz
drwxr-xr-x 2 root root 4096 Aug 9 14:08 sysstat
-rw-rw-r-- 1 root utmp 46848 Nov 22 03:28 wtmp

最佳答案

current documentation说如下:

LoggingBy default, Odoo displays all logging of level info except for workflow logging (warning only), and log output is sent to stdout. Various options are available to redirect logging to other destinations and to customize the amount of logging output.


您可以通过使用以下参数启动 Odoo 或在 Odoo 的配置文件中定义此参数来更改它。

--logfile <file>

sends logging output to the specified file instead of stdout. On Unix, the file can be managed by external log rotation programs and will automatically be reopened when replaced

关于ubuntu - Ubuntu 20.04 上 Odoo 15 日志文件的位置在哪里,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/70060597/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com