Fixed Django logging