From: Gustaf N. <ne...@wu...> - 2006-06-25 09:30:28
|
Zoran Vasiljevic schrieb: > Am 22.06.2006 um 22:10 schrieb Zoran Vasiljevic: > > >> But as Gustaf already suggested, one can wrap the ns_log >> in Tcl and do whatever one will from the Tcl level anyway. >> I will have to see if this will be sufficient. >> > > It's not :-( > > The problem is: we also have whole lotta C-modules > calling Ns_Log() C-API hence pure wrapping of the > Tcl ns_log call will just partly help. > Well, i would not base the whole design decision on this fact, since also from the c-level one could call the tcl/xotcl log functions. As you said, speed should not be a major issue, having a flexible log environment with easy filtering for sessions/users/modules/... and different levels of detail is very conveniant. This should not be an argument against your proposal, since it won't prohibit to have the tcl-layer-flexibility on top of it as well. My point was not to rush to early to c.... -gustaf |