Article ID: 6621, created on Aug 18, 2009, last review on Aug 12, 2014

  • Applies to:
  • Virtuozzo containers for Linux 4.0


In some cases, investigation of VZAgent logs is required. VZAgent logs are located in the /var/log/vzagent/ directory. In order to increase/decrease the debug level, it is necessary to modify VZAgent settings in the configuration file /var/vzagent/etc/vzagent.conf. In some cases, debugging of PIM/PPP processes is required also.


Use the /sbin/vzalog utility (attached) to make these changes easily and quickly.

Usage: vzalog on | off
  vzalog clean [N]
  vzalog show

  on/off option changes /var/vzagent/etc/vzagent.conf and /vz/root/1/etc/vzcp/vzcpcon.conf
  in order to increase/decrease log level.
  It also performs services restart and does NOT save old settings.

  show option displays current log settings in vzagent.conf and vzcpcon.conf files.

  clean option cleans /var/log/vzagent/ directory from old VZAgent log files and lefts ones only for last N days.
  If number of days is omitted default 30 days value is used.


35c16f1fded8e42577cb3df16429c57a d02f9caf3e11b191a38179103495106f e8e50b42231236b82df27684e7ec0beb 2897d76d56d2010f4e3a28f864d69223

Email subscription for changes to this article
Save as PDF