]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/logging/parser/parser.factor
io.files: exists? -> file-exists? and rename primitive.
[factor.git] / basis / logging / parser / parser.factor
index ecff2ef1d2fa826510a3237276025f81ca358f75..84d762b24434e06329fc10f17b4170e826c7f5c8 100644 (file)
@@ -81,7 +81,7 @@ PEG: parse-log-line ( string -- entry ) log-line-parser ;
     ] { } make ;
 
 : parse-log-file ( service -- entries )
-    log-path 1 log# dup exists?
+    log-path 1 log# dup file-exists?
     [ utf8 file-lines parse-log ] [ drop f ] if ;
 
 GENERIC: log-timestamp. ( date -- )