X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=backend.ml;h=535c5493a6256d5cc87ca8921c0d74452c6cad3f;hb=212fd80329013ca85fb88470eeb1144816b68244;hp=34dde6b5f383c11758cc3eecb45b5f5c631a6e49;hpb=acbdd1601fcfb161089d326e7e32b74b76f441e3;p=vsys.git diff --git a/backend.ml b/backend.ml index 34dde6b..535c549 100644 --- a/backend.ml +++ b/backend.ml @@ -54,7 +54,7 @@ class backendHandler dir_root (frontend_lst: frontendHandler list) = Dirwatcher.add_watch fqp [S_Create;S_Delete] func end with _ -> - fprintf logfd "Could not create %s. Looks like a slice shot itself in the foot\n" fqp;flush logfd; + logprint "Could not create %s. Looks like a slice shot itself in the foot\n" fqp; ) slice_list @@ -163,7 +163,7 @@ class backendHandler dir_root (frontend_lst: frontendHandler list) = | S_REG -> this#new_script slice_list fqp | _ -> - fprintf logfd "Don't know what to do with %s\n" curfile;flush logfd + logprint "Don't know what to do with %s\n" curfile end end with _