# Add this entry point to the .c file
cat <<EOF >> $C_FILE
#ifdef DBG_PRINNT_HOOKS_AT_START
- lprintf (CTDL_INFO, "Starting $HOOKNAME\n");
+ syslog(CTDL_INFO, "Starting $HOOKNAME\n");
#endif
$HOOK();
EOF
# Add this entry point to the .c file
cat <<EOF >> $C_FILE
#ifdef DBG_PRINNT_HOOKS_AT_START
- lprintf (CTDL_INFO, "Initializing $HOOKNAME\n");
+ syslog(CTDL_INFO, "Initializing $HOOKNAME\n");
#endif
$HOOK();
EOF
# Add this entry point to the .c file
cat <<EOF >> $C_FILE
#ifdef DBG_PRINNT_HOOKS_AT_START
- lprintf (CTDL_INFO, "Shutting down $HOOKNAME\n");
+ syslog(CTDL_INFO, "Shutting down $HOOKNAME\n");
#endif
$HOOK();
EOF
# Add this entry point to the .c file
cat <<EOF >> $C_FILE
#ifdef DBG_PRINNT_HOOKS_AT_START
- lprintf (CTDL_INFO, "Initializing $HOOKNAME\n");
+ syslog(CTDL_INFO, "Initializing $HOOKNAME\n");
#endif
$HOOK(sess);
EOF
# Add this entry point to the .c file
cat <<EOF >> $C_FILE
#ifdef DBG_PRINNT_HOOKS_AT_START
- lprintf (CTDL_INFO, "Attaching Session; $HOOKNAME\n");
+ syslog(CTDL_INFO, "Attaching Session; $HOOKNAME\n");
#endif
$HOOK(sess);
EOF
# Add this entry point to the .c file
cat <<EOF >> $C_FILE
#ifdef DBG_PRINNT_HOOKS_AT_START
- lprintf (CTDL_INFO, "Initializing $HOOKNAME\n");
+ syslog(CTDL_INFO, "Initializing $HOOKNAME\n");
#endif
$HOOK(sess);
EOF
# Add this entry point to the .c file
cat <<EOF >> $C_FILE
#ifdef DBG_PRINNT_HOOKS_AT_START
- lprintf (CTDL_INFO, "Initializing $HOOKNAME\n");
+ syslog(CTDL_INFO, "Initializing $HOOKNAME\n");
#endif
$HOOK(*sess);
EOF
# Add this entry point to the .c file
cat <<EOF >> $C_FILE
#ifdef DBG_PRINNT_HOOKS_AT_START
- lprintf (CTDL_INFO, "NEW $HOOKNAME\n");
+ syslog(CTDL_INFO, "NEW $HOOKNAME\n");
#endif
$HOOK(httpreq);
EOF
# Add this entry point to the .c file
cat <<EOF >> $C_FILE
#ifdef DBG_PRINNT_HOOKS_AT_START
- lprintf (CTDL_INFO, "Detaching $HOOKNAME\n");
+ syslog(CTDL_INFO, "Detaching $HOOKNAME\n");
#endif
$HOOK(httpreq);
EOF
# Add this entry point to the .c file
cat <<EOF >> $C_FILE
#ifdef DBG_PRINNT_HOOKS_AT_START
- lprintf (CTDL_INFO, "Destructing $HOOKNAME\n");
+ syslog(CTDL_INFO, "Destructing $HOOKNAME\n");
#endif
$HOOK(httpreq);
EOF