mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-21 23:28:44 +05:00
no more info if logg db is nil
This commit is contained in:
@@ -36,7 +36,7 @@ func (psl *PostgresLogger) Close() {
|
||||
|
||||
func (psl *PostgresLogger) Log(uuid string, cc *timespans.CallCost) {
|
||||
if psl.db == nil {
|
||||
timespans.Logger.Warning("Cannot write log to database.")
|
||||
//timespans.Logger.Warning("Cannot write log to database.")
|
||||
return
|
||||
}
|
||||
tss, err := json.Marshal(cc.Timespans)
|
||||
|
||||
Reference in New Issue
Block a user