Logger Change in lhttpd - didn't work this way currently
This commit is contained in:
parent
18de367ae5
commit
68a0fbc990
1 changed files with 6 additions and 6 deletions
12
lhttpd.pb
12
lhttpd.pb
|
@ -118,8 +118,8 @@ lhs_log::Init()
|
||||||
;*
|
;*
|
||||||
Accesslog = lhs_log_ext::Create("Accesslog")
|
Accesslog = lhs_log_ext::Create("Accesslog")
|
||||||
Errorlog = lhs_log_ext::Create("Errorlog")
|
Errorlog = lhs_log_ext::Create("Errorlog")
|
||||||
lhs_log::Out("Errorlog UUID:"+Errorlog)
|
lhs_log_ext::OutL(lhs_web::get_config(lhs_web::#conf_Debug_logUUID), lhs_log_ext::#Debugging,"Errorlog UUID:"+Errorlog)
|
||||||
lhs_log::Out("Accesslog UUID:"+Accesslog)
|
lhs_log_ext::OutL(lhs_web::get_config(lhs_web::#conf_Debug_logUUID), lhs_log_ext::#Debugging,"Accesslog UUID:"+Accesslog)
|
||||||
lhs_web::set_config(lhs_web::#conf_Access_logUUID, Accesslog)
|
lhs_web::set_config(lhs_web::#conf_Access_logUUID, Accesslog)
|
||||||
lhs_web::set_config(lhs_web::#conf_Error_logUUID, Errorlog)
|
lhs_web::set_config(lhs_web::#conf_Error_logUUID, Errorlog)
|
||||||
lhs_log_ext::SetLogFile(Accesslog, lhs_web::get_config(lhs_web::#conf_access_logfile))
|
lhs_log_ext::SetLogFile(Accesslog, lhs_web::get_config(lhs_web::#conf_access_logfile))
|
||||||
|
@ -132,11 +132,11 @@ lhs_log_ext::Init(Errorlog)
|
||||||
;*
|
;*
|
||||||
|
|
||||||
If lhs_web::start_server()
|
If lhs_web::start_server()
|
||||||
lhs_log::Out("Server started:")
|
lhs_log_ext::OutL(lhs_web::get_config(lhs_web::#conf_Debug_logUUID), lhs_log_ext::#Debugging,"Server started:")
|
||||||
lhs_log::Out("HTTP Port:"+ lhs_web::get_config(lhs_web::#conf_HTTP_port))
|
lhs_log_ext::OutL(lhs_web::get_config(lhs_web::#conf_Debug_logUUID), lhs_log_ext::#Debugging,"HTTP Port:"+ lhs_web::get_config(lhs_web::#conf_HTTP_port))
|
||||||
lhs_log::Out("HTTPS Port:"+ lhs_web::get_config(lhs_web::#conf_HTTPS_port))
|
lhs_log_ext::OutL(lhs_web::get_config(lhs_web::#conf_Debug_logUUID), lhs_log_ext::#Debugging,"HTTPS Port:"+ lhs_web::get_config(lhs_web::#conf_HTTPS_port))
|
||||||
Else
|
Else
|
||||||
lhs_log::Out("Serverstart failed.")
|
lhs_log_ext::OutL(lhs_web::get_config(lhs_web::#conf_Debug_logUUID), lhs_log_ext::#Debugging,"Serverstart failed.")
|
||||||
End
|
End
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue