add backwards compatibility for old apache-style logs