Fixing apache logs variables