[rear-devel] [rear/rear] 0f63d4: Redirect stdout and stderr to the log only if verb...

Johannes Meixner noreply at github.com
Wed Sep 30 15:17:38 CEST 2020


  Branch: refs/heads/log_stdout_stderr_only_if_verbose_or_debug
  Home:   https://github.com/rear/rear
  Commit: 0f63d43236a0b28e020f5cb6cd2ff933438a481b
      https://github.com/rear/rear/commit/0f63d43236a0b28e020f5cb6cd2ff933438a481b
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M usr/sbin/rear

  Log Message:
  -----------
  Redirect stdout and stderr to the log only if verbose or debug mode (issue 2416)

In "normal operation" mode stdout and stderr are redirected to /dev/null.
In verbose mode stderr is /dev/null but stdout is redirected to the log.
In debug modes stdout and stderr are redirected to the log.
Cf. https://github.com/rear/rear/issues/2416




More information about the rear-devel mailing list