Log files are utf8
parent
65a91d549e
commit
3d9f613719
|
@ -3,7 +3,7 @@
|
||||||
USING: namespaces kernel io calendar sequences io.files
|
USING: namespaces kernel io calendar sequences io.files
|
||||||
io.sockets continuations prettyprint assocs math.parser
|
io.sockets continuations prettyprint assocs math.parser
|
||||||
words debugger math combinators concurrency.messaging
|
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 ;
|
io.encodings.ascii ;
|
||||||
IN: logging.server
|
IN: logging.server
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ SYMBOL: log-files
|
||||||
: open-log-stream ( service -- stream )
|
: open-log-stream ( service -- stream )
|
||||||
log-path
|
log-path
|
||||||
dup make-directories
|
dup make-directories
|
||||||
1 log# ascii <file-appender> ;
|
1 log# utf8 <file-appender> ;
|
||||||
|
|
||||||
: log-stream ( service -- stream )
|
: log-stream ( service -- stream )
|
||||||
log-files get [ open-log-stream ] cache ;
|
log-files get [ open-log-stream ] cache ;
|
||||||
|
|
Loading…
Reference in New Issue