From 207df6fc406e81bfeebdff7f404bd242ff3f099f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 7 May 2024 06:48:35 +0200 Subject: Merging upstream version 0.12.2. Signed-off-by: Daniel Baumann --- release/loggen.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'release/loggen.py') 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), -- cgit v1.2.3