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>
1 file changed