Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/logstory/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ def usecase_replay_logtype(
(
timestamp.get("pattern"),
timestamp.get("group"),
timestamp.get("format"),
timestamp.get("dateformat"),
timestamp.get("epoch"),
)
for timestamp in timestamp_map[log_type]["timestamps"]
Expand All @@ -386,6 +386,9 @@ def usecase_replay_logtype(
old_base_time = datetime.datetime.fromtimestamp(int(old_base))
elif btsformat:
old_base_time = datetime.datetime.strptime(old_base, btsformat)
else:
print("error! it needs to be one of those...")
import pdb; pdb.set_trace()

# for each timestamp in the yaml file
for ts_n, timestamp in enumerate(timestamp_map[log_type]["timestamps"]):
Expand Down