git://git.onelab.eu
/
vsys.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Whoops, that didn't look right.
[vsys.git]
/
backend.ml
diff --git
a/backend.ml
b/backend.ml
index
34dde6b
..
3d1122a
100644
(file)
--- 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 _ ->
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
)
slice_list
@@
-131,7
+131,7
@@
class backendHandler dir_root (frontend_lst: frontendHandler list) =
end
end
else (* regex not matched *)
end
end
else (* regex not matched *)
-
fprintf logfd
"Rejected weird entry %s\n" fname
+
logprint
"Rejected weird entry %s\n" fname
(** Initializer - build the initial tree based on the contents of /vsys *)
initializer
(** Initializer - build the initial tree based on the contents of /vsys *)
initializer
@@
-163,7
+163,7
@@
class backendHandler dir_root (frontend_lst: frontendHandler list) =
| S_REG ->
this#new_script slice_list fqp
| _ ->
| 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 _
end
end
with _