Technica-Engineering / kalash

Test runner made for scalable automation based on standard Python's `unittest`
GNU General Public License v3.0
3 stars 0 forks source link

[FEATURE] Global logger to compound the per-test-case loggers #19

Open kjczarne opened 2 years ago

kjczarne commented 2 years ago

Is your feature request related to a problem? Please describe. Currently each test case uses a separate logger which provides a great deal of isolation for logs. This is not the desired behavior in all teams, some teams will require a single global logger.

Describe the solution you'd like Provide secondary logger behavior (via the existing on-test-case logger instance or a directly imported logger) for top-level global logs.

Describe alternatives you've considered Merging per-test-case log files might cause confusion if the messages are not properly sorted. Overriding the behavior for completely will break the expectations that Product Testing team has about the debug log structures.

Additional context N/A