Archive for the 'Information Systems' Category

Google Apps and IMAP

Finally, after a couple of months, the new Gmail interface was ported to Google Apps.

Right now, it’s not that great of a deal for me, since I was using Gmail through IMAP almost exclusively. And worst of all, with this “upgrade”, IMAP access is gone. I hope it’s just for a while.

Tomcat access logs

First of all, why does Tomcat take so long to shut down? It took almost three minutes just now… Funnily, it takes two and a half seconds to start up.

Anyway, I’ve finally found out how to  enable access logs on Tomcat, thanks to this page. Just add the following snippet in the correct section of the $TOMCAT_HOME/conf/server.xml file:

<Valve className="org.apache.catalina.valves.AccessLogValve"
    directory="logs"  prefix="access_log." suffix=".txt"
    pattern="common" resolveHosts="false"/>

Restart Tomcat. It’s working.