mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 08:46:58 +08:00
connects and disconnects to main are logged with LOG_INFO
This commit is contained in:
@@ -259,8 +259,9 @@ struct proc_st *old_proc;
|
||||
|
||||
if (old_proc->pid > 0)
|
||||
kill(old_proc->pid, SIGTERM);
|
||||
mslog(s, proc, LOG_INFO, "resumed cookie session for user '%s' (using %s)", proc->username, proc->tls_ciphersuite);
|
||||
} else {
|
||||
mslog(s, proc, LOG_DEBUG, "new cookie session for user '%s' (%u)", proc->username, (unsigned)proc->pid);
|
||||
mslog(s, proc, LOG_INFO, "new cookie session for user '%s' (using %s)", proc->username, proc->tls_ciphersuite);
|
||||
}
|
||||
|
||||
if (cmsg->hostname)
|
||||
|
||||
@@ -320,7 +320,7 @@ int session_close(main_server_st * s, struct proc_st *proc)
|
||||
*/
|
||||
void remove_proc(main_server_st * s, struct proc_st *proc, unsigned k)
|
||||
{
|
||||
mslog(s, proc, LOG_DEBUG, "removing client '%s' with id '%d'", proc->username, (int)proc->pid);
|
||||
mslog(s, proc, LOG_INFO, "user '%s' disconnected", proc->username);
|
||||
|
||||
list_del(&proc->list);
|
||||
s->active_clients--;
|
||||
|
||||
Reference in New Issue
Block a user