Zend Server 2018 PHP CLI info

General discussion forum for the Zend Server
Post Reply
tlamedia
Posts: 7
Joined: Tue Jul 03, 2018 1:50 pm

Zend Server 2018 PHP CLI info

Post by tlamedia » Fri Jul 06, 2018 12:18 pm

After upgrading to Zend Server 2018 getting a lot of log messages on every PHP command. Can this be turned off?

[06.07.2018 13:15:15.917 p17761/t139912636012352 DBG1] Logs directory is set to: /usr/local/zend/var/log
[06.07.2018 13:15:15.917 p17761/t139912636012352 DBG1] install directory is set to: /usr/local/zend
[06.07.2018 13:15:15.917 p17761/t139912636012352 DBG1] Zend Statistics extension loaded at pid 17761
[06.07.2018 13:15:15.917 p17761/t139912636012352 DBG1] SAPI is cli
[06.07.2018 13:15:15.917 p17761/t139912636012352 DBG1] Extension statistics is loaded
[06.07.2018 13:15:15.919 p17761/t139912636012352 DBG1] Initializing ZDevBar
[06.07.2018 13:15:15.919 p17761/t139912636012352 DBG1] Loading privacy file: /usr/local/zend/etc/zend_privacy_functions.txt
[06.07.2018 13:15:15.919 p17761/t139912636012352 DBG1] Loading privacy file: /usr/local/zend/etc/zend_privacy_regex.txt
[06.07.2018 13:15:15.920 p17761/t139912636012352 DBG1] Loading privacy file: /usr/local/zend/etc/zend_privacy_keys.txt
[06.07.2018 13:15:15.920 p17761/t139912636012352 DBG1] DevBar: Database connection is configured for SQLite
[06.07.2018 13:15:15.922 p17761/t139912636012352 DBG1] DevBar: loading user-agent info from the db
[06.07.2018 13:15:15.923 p17761/t139912636012352 DBG1] DevBar: Loaded User-Agent: User-Agent: Chrome, Agent String: Chrome
[06.07.2018 13:15:15.923 p17761/t139912636012352 DBG1] DevBar: Loaded User-Agent: User-Agent: Firefox, Agent String: Firefox
[06.07.2018 13:15:15.923 p17761/t139912636012352 DBG1] DevBar: Loaded User-Agent: User-Agent: Opera, Agent String: Opera
[06.07.2018 13:15:15.923 p17761/t139912636012352 DBG1] DevBar: Loaded User-Agent: User-Agent: BlackBerry, Agent String: BlackBerry
[06.07.2018 13:15:15.923 p17761/t139912636012352 DBG1] DevBar: Loaded User-Agent: User-Agent: Safari, Agent String: Safari
[06.07.2018 13:15:15.923 p17761/t139912636012352 DBG1] DevBar: Loaded User-Agent: User-Agent: IE, Agent String: Trident/7.0
[06.07.2018 13:15:15.923 p17761/t139912636012352 DBG1] DevBar: Loaded User-Agent: User-Agent: IE, Agent String: MSIE 10
[06.07.2018 13:15:15.923 p17761/t139912636012352 DBG1] DevBar: Loaded User-Agent: User-Agent: IE, Agent String: MSIE 9
[06.07.2018 13:15:15.923 p17761/t139912636012352 DBG1] DevBar: Loaded User-Agent: User-Agent: IE, Agent String: MSIE 8
[06.07.2018 13:15:15.923 p17761/t139912636012352 DBG1] DevBar: Loaded User-Agent: User-Agent: IE, Agent String: MSIE 7
[06.07.2018 13:15:15.924 p17761/t139912636012352 DBG1] DevBar: Loaded User-Agent: User-Agent: IE, Agent String: MSIE 6
[06.07.2018 13:15:15.924 p17761/t139912636012352 DBG1] DevBar: Loaded User-Agent: User-Agent: IE, Agent String: MSIE
[06.07.2018 13:15:15.924 p17761/t139912636012352 DBG1] DevBar: loading user-agent info from the db.. completed
[06.07.2018 13:15:15.924 p17761/t139912636012352 DBG1] Loading privacy file: /usr/local/zend/etc/zend_privacy_functions.txt
[06.07.2018 13:15:15.924 p17761/t139912636012352 DBG1] Loading privacy file: /usr/local/zend/etc/zend_privacy_regex.txt
[06.07.2018 13:15:15.924 p17761/t139912636012352 DBG1] Loading privacy file: /usr/local/zend/etc/zend_privacy_keys.txt
[06.07.2018 13:15:15.924 p17761/t139912636012352 DBG1] Z-Ray enabled for APM
[06.07.2018 13:15:15.924 p17761/t139912636012352 DBG1] ZRay: Instantiating backtrace generator
[06.07.2018 13:15:15.924 p17761/t139912636012352 DBG1] ZRay: max backtrace frames is set to: 100
[06.07.2018 13:15:15.924 p17761/t139912636012352 DBG1] ZRay: Database in write mode: true
[06.07.2018 13:15:15.924 p17761/t139912636012352 DBG1] ZRay: extensions folder: /usr/local/zend/var/plugins
[06.07.2018 13:15:15.924 p17761/t139912636012352 DBG1] ZRay: Using internal memory manager: 0
[06.07.2018 13:15:15.925 p17761/t139912636012352 DBG1] ZRay: gzip mode -
[06.07.2018 13:15:15.925 p17761/t139912636012352 DBG1] ZApmZrayDumper set economy mode: true
[06.07.2018 13:15:15.925 p17761/t139912636012352 DBG1] Dumps probability set to 1000

User avatar
zend_eyalt
Posts: 282
Joined: Thu Jan 22, 2009 3:16 pm

Re: Zend Server 2018 PHP CLI info

Post by zend_eyalt » Mon Jul 09, 2018 7:36 am

It seems your zend_statistics_extension.log_verbosity_level directive is set to 3, hence your zray.log is pretty verbose.
To reduce the verbosity of the log, go Zend Server Administration -> Components page, and search for zend_statistics_extension.log_verbosity_level - now reduce the verbosity of this directive say to 1, save and restart

tlamedia
Posts: 7
Joined: Tue Jul 03, 2018 1:50 pm

Re: Zend Server 2018 PHP CLI info

Post by tlamedia » Mon Jul 09, 2018 9:44 am

thanks

Post Reply