mirror of
https://github.com/outbackdingo/patroni.git
synced 2026-01-27 10:20:10 +00:00
6 lines
147 B
Python
Executable File
6 lines
147 B
Python
Executable File
#!/usr/bin/env python
|
|
|
|
import sys
|
|
with open("data/{0}/{0}_cb.log".format(sys.argv[1]), "a+") as log:
|
|
log.write(" ".join(sys.argv[-3:]) + "\n")
|