Claude R
2024-01-27 16:19:20 UTC
Hello,
I used until now the integrated log system like this:
Init log Console(HB_LOG_INFO);
File( HB_LOG_WARNING, "Log_Chaine.txt",10000 );
Email (HB_LOG_ERROR , "Log","smtp.xx.xx","***@xxx.xx","Error log","***@xx.xx")
All infos are displayed in console.
All warnings are written to a file.
All important errors are directly sent to me by mail.
Now my smtp requires SSL/TLS with port 587, no other way...
I see no direct solution how to avoid to make bigger changes in my code, as I write already to a file. Two output files with different Error levels are not supported.
This would be something useful to implement. Or introduce SSL/TLS.
I have not the knowledge to implement this unfortunately.
best regards,
Claude
I used until now the integrated log system like this:
Init log Console(HB_LOG_INFO);
File( HB_LOG_WARNING, "Log_Chaine.txt",10000 );
Email (HB_LOG_ERROR , "Log","smtp.xx.xx","***@xxx.xx","Error log","***@xx.xx")
All infos are displayed in console.
All warnings are written to a file.
All important errors are directly sent to me by mail.
Now my smtp requires SSL/TLS with port 587, no other way...
I see no direct solution how to avoid to make bigger changes in my code, as I write already to a file. Two output files with different Error levels are not supported.
This would be something useful to implement. Or introduce SSL/TLS.
I have not the knowledge to implement this unfortunately.
best regards,
Claude