Log files are utf8
parent
65a91d549e
commit
3d9f613719
|
@ -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 ;
|
||||
|
|
Loading…
Reference in New Issue