Clemens Schwaighofer
6090995eba
v0.22.3: Fixes in Log for atexit calls for queue close
v0.22.3
2025-08-05 13:24:16 +09:00
Clemens Schwaighofer
60db747d6d
More fixes for the queue clean up
...
Changed that we call stop_listener and not _cleanup on exit
Then call _cleanup from the stop listener
We only need that if we have listeners (queue) anyway
2025-08-05 13:22:54 +09:00
Clemens Schwaighofer
a7a4141f58
v0.22.2: Log remove __del__ call for clean up, this broke everything
2025-08-05 10:37:57 +09:00
Clemens Schwaighofer
2b04cbe239
Remove Log __del__ cleanup
2025-08-05 10:36:49 +09:00
Clemens Schwaighofer
765cc061c1
v0.22.1: Log update with closing queue on exit or abort
v0.22.1
2025-08-05 10:33:55 +09:00
Clemens Schwaighofer
80319385f0
Add Log exist queue clean up if queue is set
...
to avoid hung threads on errors
2025-08-05 10:32:33 +09:00
Clemens Schwaighofer
29dd906fe0
v0.22.0: per run log file rotate
v0.22.0
2025-08-01 16:04:18 +09:00
Clemens Schwaighofer
d5dc4028c3
Merge branch 'development'
2025-08-01 16:02:40 +09:00
Clemens Schwaighofer
0df049d453
Add per run log rotate flag
...
This flag will use the normal file handler with a file name that has date + time + milliseconds
to create a new file each time the script is run
2025-08-01 16:01:50 +09:00
Clemens Schwaighofer
0bd7c1f685
v0.21.1: Update convert time string to skip any numbers
v0.21.1
2025-07-29 09:30:56 +09:00
Clemens Schwaighofer
2f08ecabbf
For convert time string, skip convert if incoming value is a number of any type
...
Any float number will be rounded, and everything that is any kind of number will be then converted to int and returned
The rest will be converted to string and normal convert is run
2025-07-29 09:29:38 +09:00
Clemens Schwaighofer
12af1c80dc
v0.21.0: string with time units to seconds int
v0.21.0
2025-07-29 09:15:20 +09:00
Clemens Schwaighofer
a52b6e0a55
Merge branch 'development'
2025-07-29 09:14:11 +09:00
Clemens Schwaighofer
a586cf65e2
Convert string with time units to seconds
2025-07-29 09:13:36 +09:00
Clemens Schwaighofer
e2e7882bfa
Log exception with new exception_stack call, exception_stack method added to the debug helpers
v0.20.0
2025-07-28 15:27:55 +09:00
Clemens Schwaighofer
4f9c2b9d5f
Add exception stack caller and add this to the logger exception call
...
So we get the location of the exception in the console log too
2025-07-28 15:26:23 +09:00
Clemens Schwaighofer
5203bcf1ea
v0.19.1: Log exception call, add call stack to the console log output
v0.19.1
2025-07-28 14:32:56 +09:00
Clemens Schwaighofer
f1e3bc8559
For Log exception write to ERROR, add the stack trace too
2025-07-28 14:32:14 +09:00
Clemens Schwaighofer
b97ca6f064
v0.19.0: add http basic auth creator method
v0.19.0
2025-07-26 11:27:10 +09:00
Clemens Schwaighofer
d1ea9874da
Add HTTP basic auth builder
2025-07-26 11:26:09 +09:00
Clemens Schwaighofer
3cd3f87d68
v0.18.2: dump data parameter change to Any
v0.18.2
2025-07-26 10:52:48 +09:00
Clemens Schwaighofer
582937b866
dump_data is now ANY, we do the detail dump type in the run later
2025-07-26 10:51:37 +09:00
Clemens Schwaighofer
2b8240c156
v0.18.1: bug fix for find_in_array_from_list search key check
v0.18.1
2025-07-25 15:58:59 +09:00
Clemens Schwaighofer
abf4b7ac89
Bug fix for find_in_array_from_list because of keys order
2025-07-25 15:57:48 +09:00
Clemens Schwaighofer
9c49f83c16
v0.18.0: array_search deprecation in change for find_in_array_from_list with correct parameter order
v0.18.0
2025-07-25 15:50:58 +09:00
Clemens Schwaighofer
3a625ed0ee
Merge branch 'master' into development
2025-07-25 15:49:58 +09:00
Clemens Schwaighofer
2cfbf4bb90
Update data search for iterators
...
array_search name is deprecated
use find_in_array_from_list
- change parameter order
data (search in) comes before search_params list
- created a TypedDict for the array search params dict entry
2025-07-25 15:48:37 +09:00
Clemens Schwaighofer
5767533668
v0.17.0: exceptions handling added for csv file reading
v0.17.0
2025-07-25 10:25:44 +09:00
Clemens Schwaighofer
24798f19ca
Add CSV Exceptions
2025-07-25 10:23:52 +09:00
Clemens Schwaighofer
26f8249187
v0.16.0: trackeback call stack reader method fix
v0.16.0
2025-07-24 10:53:44 +09:00
Clemens Schwaighofer
dcefa564da
Fix stack stack traceback call
...
It now works correct with start and skip_last settings, the method is now called "call_stack"
Also added auto reset if no output (start too hight) and optional stack separator
2025-07-24 10:52:39 +09:00
Clemens Schwaighofer
edd35dccea
Comment update for log class
2025-07-22 19:32:21 +09:00
Clemens Schwaighofer
ea527ea60c
v0.15.0: Log class update with split up class with Logger sub class for pool/fork/thread worker setup
v0.15.0
2025-07-18 14:18:19 +09:00
Clemens Schwaighofer
fd5e1db22b
Change Log class and add simple Logger class without the init work
...
This Logger class can be used after the main Log class has been setup, eg in workers
inside pool/fork/thread runs
A new parent class holds all the public methods
init Logger class with "get_logger_settings" or with a dictionary Type LoggerInit that has
logger with type logging.Logger as mandatory and optional Queue entry
2025-07-18 14:15:00 +09:00
Clemens Schwaighofer
39e23faf7f
dict mask helper test code update
2025-07-17 15:29:49 +09:00
Clemens Schwaighofer
de285b531a
ToDo list update
2025-07-17 15:22:12 +09:00
Clemens Schwaighofer
0a29a592f9
v0.14.1: mask update to also work recusrive
2025-07-17 15:20:38 +09:00
Clemens Schwaighofer
e045b1d3b5
Add docstring for pytest file dict helpers
2025-07-17 15:19:05 +09:00
Clemens Schwaighofer
280e5fa861
Update the mask dict helper
...
It now goes recursive, is case insenstivie for keys and mask keys requests
Checks not for equal but for start/end or inside with edge character set
pytests added
2025-07-17 15:17:57 +09:00
Clemens Schwaighofer
472d3495b5
Add missing typedefs for regex constants
2025-07-17 13:32:35 +09:00
Clemens Schwaighofer
2778ac6870
in Log use the defined default levels for console and file
2025-07-16 11:06:38 +09:00
Clemens Schwaighofer
743a0a8ac9
v0.14.0: logging exception automatically writes to error for console output
v0.14.0
2025-07-15 17:57:49 +09:00
Clemens Schwaighofer
694712ed2e
logging update for exceptions with special error log to console
...
When calling log.exception it automatically writes a short message to the console as error
This error message is tagged <=EXCEPTION> and contains only the message without the stack trace
2025-07-15 17:56:56 +09:00
Clemens Schwaighofer
ea3b4f1790
v0.13.2: move domain regex to the regex constant file
2025-07-15 11:16:01 +09:00
Clemens Schwaighofer
da68818d4f
Move the domain regex to the regex constant file
v0.13.2
2025-07-15 11:13:23 +09:00
Clemens Schwaighofer
db6a3b53c5
v0.13.1: settings loader check additions
v0.13.1
2025-07-15 10:33:38 +09:00
Clemens Schwaighofer
82b089498e
Merge branch 'development'
2025-07-15 10:33:02 +09:00
Clemens Schwaighofer
948b0dd5e7
Settings loader add more checks
...
string.domain.with-localhost
string.domain.with-localhost.port
string.domain
string.date
2025-07-15 10:32:19 +09:00
Clemens Schwaighofer
4acc0b51b1
v0.13.0: move the dump data method from the iterator folder to the debug folder
v0.13.0
2025-07-15 09:55:25 +09:00
Clemens Schwaighofer
a626b738a9
Move dump_data from iterator folder to debug folder
2025-07-15 09:54:23 +09:00