# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved

__version__ = "1.2.0"

plugins/hydra_colorlog/hydra_plugins/hydra_colorlog/__init__.py
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved

__version__ = "1.2.1"

plugins/hydra_colorlog/hydra_plugins/hydra_colorlog/__init__.py
diff --git a/plugins/hydra_colorlog/hydra_plugins/hydra_colorlog/__init__.py b/plugins/hydra_colorlog/hydra_plugins/hydra_colorlog/__init__.py
index 678b5f3c1e6..02852fe4346 100644
--- a/plugins/hydra_colorlog/hydra_plugins/hydra_colorlog/__init__.py
+++ b/plugins/hydra_colorlog/hydra_plugins/hydra_colorlog/__init__.py
@@ -1,3 +1,3 @@
 # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
 
-__version__ = "1.2.0"
+__version__ = "1.2.1"
diff --git a/plugins/hydra_colorlog/hydra_plugins/hydra_colorlog/conf/hydra/job_logging/colorlog.yaml b/plugins/hydra_colorlog/hydra_plugins/hydra_colorlog/conf/hydra/job_logging/colorlog.yaml
index 896753072d4..fec840c6130 100644
--- a/plugins/hydra_colorlog/hydra_plugins/hydra_colorlog/conf/hydra/job_logging/colorlog.yaml
+++ b/plugins/hydra_colorlog/hydra_plugins/hydra_colorlog/conf/hydra/job_logging/colorlog.yaml
@@ -21,8 +21,8 @@ handlers:
   file:
     class: logging.FileHandler
     formatter: simple
-    # relative to the job log directory
-    filename: ${hydra.job.name}.log
+    # absolute file path
+    filename: ${hydra.runtime.output_dir}/${hydra.job.name}.log
 root:
   level: INFO
   handlers: [console, file]

[Bug] Colorlog plugin generates `.log` file in cwd instead of output dir
# 🐛 Bug
I'm using hydra v1.2 with `chdir` set to false.

When I don't use colorlog plugin, the `.log` file with python logs gets generated in my output directory (as expected).

But when I attach colorlog plugin with:
```yaml
defaults:
    - override hydra/hydra_logging: colorlog
    - override hydra/job_logging: colorlog
```
The `.log` file gets generated in current working directory

## Checklist
- [x] I checked on the latest version of Hydra
- [ ] I created a minimal repro (See [this](https://stackoverflow.com/help/minimal-reproducible-example) for tips).

## Expected Behavior
I would expect the `.log` file to be always saved in output directory by default.

## System information
- **Hydra Version** :  1.2
- **Python version** : 3.10
- **Virtual environment type and version** : 
- **Operating system** : linux


