question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow multiple loggers to be provided

See original GitHub issue

Cool! Is the syntax to support multiple loggers like this?

dotnet test --logger trx;LogFileName=foo.trx --logger html;LogFileName=foo.html

_Originally posted by @RehanSaeed in https://github.com/microsoft/vstest/pull/2103#issuecomment-533487376_

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
nohwndcommented, Mar 22, 2021

Just using multiple loggers would be <VSTestLogger>trx;html</VSTestLogger>. To also specify the paths you need more complex syntax: https://stackoverflow.com/a/21743192

0reactions
Kevin-Andrewcommented, Aug 16, 2022

Switching from dotnet vstest that had multiple --logger arguments to using dotnet test worked for us. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Python multiple loggers not working. How to configure ...
I am trying to configure two loggers, one logger is for INFO level, and the other logger is for DEBUG level. I would...
Read more >
Guide to Python Logging
You can create multiple loggers with different configurations for different parts of the application. Here's an example of two loggers with ...
Read more >
logging.config — Logging configuration
For the purposes of this discussion, we can say that the logger represents the source, and the handler the destination, of a connection...
Read more >
Logging Cookbook — Python 3.11.4 documentation
Multiple calls to logging.getLogger('someLogger') return a reference to the same logger object. This is true not only within the same module, ...
Read more >
Logger in Java - Java Logging Example
There are two default handlers provided by Java Logging API. ConsoleHandler: This handler writes all the logging messages to console ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found