you can do
```python
filename = "{}-{}".format(full_log_path.join(log_name).strpath, tail)
```