Is there any way to keep the session alive at open fire?

how to keep the connection alive on server side (openfire) when we disconnects from xmpp based client? I wan to keep the logs of events even after client dissconnects from openfire. thanx