Log files are utf8

db4
Slava Pestov 2008-03-15 06:24:00 -05:00
parent 65a91d549e
commit 3d9f613719
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
USING: namespaces kernel io calendar sequences io.files
io.sockets continuations prettyprint assocs math.parser
words debugger math combinators concurrency.messaging
threads arrays init math.ranges strings calendar.format
threads arrays init math.ranges strings calendar.format
io.encodings.ascii ;
IN: logging.server
@ -21,7 +21,7 @@ SYMBOL: log-files
: open-log-stream ( service -- stream )
log-path
dup make-directories
1 log# ascii <file-appender> ;
1 log# utf8 <file-appender> ;
: log-stream ( service -- stream )
log-files get [ open-log-stream ] cache ;