Skip to content

Commit

Permalink
Merge pull request #14 from tylerholien/master
Browse files Browse the repository at this point in the history
Fixed one more source of Encoding::UndefinedConversionError errors.
  • Loading branch information
colbygk committed Oct 2, 2013
2 parents 9814c73 + 84b5985 commit 7c1e8db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/log4r/outputter/datefileoutputter.rb
Expand Up @@ -107,7 +107,7 @@ def change
}
end
makeNewFilename
@out = File.new(@filename, (@trunc ? "w" : "a"))
@out = File.new(@filename, (@trunc ? "wb" : "ab"))
Logger.log_internal {
"DateFileOutputter '#{@name}' now writing to #{@filename}"
}
Expand Down

0 comments on commit 7c1e8db

Please sign in to comment.