How to pass timestamp value into other log file