Skip to content

Commit 69e7b0a

Browse files
committed
Merge pull request fog#2390 from revapost/master
Write logger output to stderr to conform to convention
2 parents 9f7c04a + 1b8a486 commit 69e7b0a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/fog/core/logger.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ module Fog
22
class Logger
33

44
@channels = {
5-
:deprecation => ::STDOUT,
6-
:warning => ::STDOUT
5+
:deprecation => ::STDERR,
6+
:warning => ::STDERR
77
}
88

9-
@channels[:debug] = ::STDOUT if ENV['DEBUG']
9+
@channels[:debug] = ::STDERR if ENV['DEBUG']
1010

1111
def self.[](channel)
1212
@channels[channel]

0 commit comments

Comments
 (0)