Skip to content

Commit

Permalink
Merge pull request #50 from akamai/rc0.6.11
Browse files Browse the repository at this point in the history
Allow event log fetching with both start and tail/follow mode
  • Loading branch information
bitonio authored Dec 18, 2024
2 parents d474d32 + f630d6e commit ba2b79f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.6.10
0.6.11
2 changes: 1 addition & 1 deletion cli.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"commands": [
{
"name": "eaa",
"version": "0.6.10",
"version": "0.6.11",
"description": "Akamai CLI for Enterprise Application Access (EAA)"
}
]
Expand Down
2 changes: 1 addition & 1 deletion libeaa/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"""

#: cli-eaa version [PEP 8]
__version__ = '0.6.10'
__version__ = '0.6.11'

import sys
from threading import Event
Expand Down
5 changes: 5 additions & 0 deletions libeaa/eventlog.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,11 @@ def fetch_logs(self, exit_fn, stop_event):
logger.debug("Now waiting %s seconds..." % (EventLogAPI.PULL_INTERVAL_SEC - elapsed))
stop_event.wait(EventLogAPI.PULL_INTERVAL_SEC - elapsed)
fetch_log_count = 0
# TMESUP-147 when tail and start are set, we need to unset start
# to kick in the normal tail
if config.tail and config.start:
logger.info("✴️✴️✴️ Engaging tail mode")
config.start = None
if stop_event.is_set():
break
except Exception:
Expand Down

0 comments on commit ba2b79f

Please sign in to comment.