commit | 58c06592ef5ce8b1fca394d73f13bda8ad0541a5 | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Mon Sep 26 22:38:28 2011 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Mon Sep 26 22:38:28 2011 +0400 |
tree | 7c0828506f6f0b5affba05f69a847aaee89b4dde | |
parent | 51086560f755aa5836fe99c35bc94d5ebff9d9df [diff] |
vzctl enter/exec: log these actions As per bug #1266, some people need to log vzctl enter and exec actions. Let's do that with log_level=1, so unless LOG_LEVEL is not set to 1 or greater, these will not be logged. With LOG_LEVEL=1, the following will appear in vzctl.log: 2011-09-26T22:38:02+0400 vzctl : CT 102 : Executing command: ps ax 2011-09-26T22:38:07+0400 vzctl : CT 102 : Entering CT http://bugzilla.openvz.org/1266 Signed-off-by: Kir Kolyshkin <kir@openvz.org>