1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-27 18:55:19 +03:00

Revert "log: no file for external logging"

This reverts commit 1b1c01a27b.

This caused messages to get dropped instead of logged into the log file.

(The log file and log function are independent at the moment.)
This commit is contained in:
Alasdair G Kergon 2015-10-13 15:31:57 +01:00
parent acc70de439
commit 0cf787a377
2 changed files with 0 additions and 5 deletions

View File

@ -1,6 +1,5 @@
Version 2.02.133 -
======================================
Avoid creation of log file when logging function is set.
Do not change logging in lvm2 library when it's already set.
Check for enough space in thin-pool in command before creating new thin.
Make libblkid detect all copies of the same signature if use_blkid_wiping=1.

View File

@ -71,10 +71,6 @@ void init_log_file(const char *log_file, int append)
int i = 0;
_log_file_path[0] = '\0';
if (_lvm2_log_fn)
return; /* No log file, when log function is set */
if ((env = getenv("LVM_LOG_FILE_EPOCH"))) {
while (isalpha(env[i]) && i < 32) /* Up to 32 alphas */
i++;