--- a/ChangeLog Sun Jan 14 06:11:13 2018 -0600
+++ b/ChangeLog Sun Jan 14 06:17:38 2018 -0600
@@ -1,10 +1,10 @@
- * Nothing yet! Be the first!!
+ * Write warning, error, and fatal log messages to stderr. Fixed #156 * Fixed an issue in docker.ParseImage where something like convey/workspace
would in correctly determine the registry to be convey and the image to be
* Changed the way subcommands are run. Fixed #153
* Added `run` sub-command.
* Deprecated `--graphviz`, use `graphviz` instead.
--- a/logging/logging.go Sun Jan 14 06:11:13 2018 -0600
+++ b/logging/logging.go Sun Jan 14 06:17:38 2018 -0600
@@ -18,6 +18,8 @@
"github.com/aphistic/gomol"
"github.com/aphistic/gomol-console"
@@ -29,6 +31,10 @@
func setupConsole(color bool) (gomol.Logger, error) {
cfg := gomolconsole.NewConsoleLoggerConfig()
+ cfg.WarningWriter = os.Stderr + cfg.ErrorWriter = os.Stderr + cfg.FatalWriter = os.Stderr logger, err := gomolconsole.NewConsoleLogger(cfg)