Better logging [RFE]
Hi,
I think that IspConfig should log also INFO messages with information about common actions like creating/modifying/deleting/... of users/webs/dbs/... In my opinion there is a huge gap betwen WARNING and DEBUG severity. INFO messages could help realize what is happening inside ispconfig without DEBUG overhead.
Also DEBUG severity logs every function calls but it would be much more helpful if it could log also specific information like for example usernames/webnames/clientnames/paths/...
Real life example...
I have changed root password so ispconfig cannot create db.
28.10.2017-00:57 - ERROR - Unable to connect to mysqlAccess denied for user 'root'@'localhost' (using password: YES)
28.10.2017-00:57 - ERROR - Unable to connect to the database: Access denied for user 'root'@'localhost' (using password: YES)
But in the log there is no information which db and client is affected.
I would like to see something like
28.10.2017-00:57 - INFO - Creating database dbname1 for web www.example.com, client: myclinet1
28.10.2017-00:57 - ERROR - Unable to connect to mysqlAccess denied for user 'root'@'localhost' (using password: YES)
28.10.2017-00:57 - ERROR - Unable to connect to the database: Access denied for user 'root'@'localhost' (using password: YES)
I suppose I could help with implementing this but only if you find it useful.