diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-07 04:48:35 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-07 04:48:35 +0000 |
commit | 207df6fc406e81bfeebdff7f404bd242ff3f099f (patch) | |
tree | a1a796b056909dd0a04ffec163db9363a8757808 /release/loggen.py | |
parent | Releasing progress-linux version 0.11.2-1~progress7.99u1. (diff) | |
download | lnav-207df6fc406e81bfeebdff7f404bd242ff3f099f.tar.xz lnav-207df6fc406e81bfeebdff7f404bd242ff3f099f.zip |
Merging upstream version 0.12.2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-x | release/loggen.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/release/loggen.py b/release/loggen.py index 5e0bbbb..556991c 100755 --- a/release/loggen.py +++ b/release/loggen.py @@ -131,7 +131,7 @@ TEST_AGENTS = [ "Roku4640X/DVP-7.70 (297.70E04154A)", ] -START_TIME = datetime.datetime.fromtimestamp(1641898727) +START_TIME = datetime.datetime.fromtimestamp(1692700000) ACCESS_LOG_CURR_TIME = START_TIME SYSLOG_LOG_CURR_TIME = START_TIME @@ -139,7 +139,7 @@ SYSLOG_LOG_CURR_TIME = START_TIME def access_log_msgs(): global ACCESS_LOG_CURR_TIME while True: - ACCESS_LOG_CURR_TIME += datetime.timedelta(seconds=random.randrange(1, 3)) + ACCESS_LOG_CURR_TIME += datetime.timedelta(seconds=random.randrange(1, 5)) yield '%s - %s [%s +0000] "%s %s %s" %s %s "%s" "%s"\n' % ( random.choice(TEST_ADDRESSES), random.choice(TEST_USERNAMES), @@ -181,7 +181,7 @@ TEST_MSGS = [ def syslog_msgs(): global SYSLOG_LOG_CURR_TIME while True: - SYSLOG_LOG_CURR_TIME += datetime.timedelta(seconds=random.randrange(1, 3)) + SYSLOG_LOG_CURR_TIME += datetime.timedelta(seconds=random.randrange(1, 5)) yield '%s frontend3 %s: %s\n' % ( SYSLOG_LOG_CURR_TIME.strftime(SYSLOG_DATE_FMT), random.choice(TEST_PROCS), |