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.

[Logging] v8.2 logging broken

See original GitHub issue
screen shot 2018-07-25 at 21 26 14 screen shot 2018-07-25 at 21 32 23

--debug has started failing: it doesn’t print status as it goes.

The output is very strange; it keeps writing Expecto running..., overwriting previous text in part.

It doesn’t show what test is being run either, which was why --debug was useful before.

Expected output (piece of it):

screen shot 2018-07-25 at 21 42 48

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:14 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
AnthonyLloydcommented, Aug 14, 2018

@t1m0thyj thanks for the repo, it really helped.

The problem is each printfn can create multiple calls to stdout that aren’t batched. In the last release I auto flush these.

I need to change the code to keep them until there is a newline. Release coming soon.

0reactions
hafcommented, Jan 27, 2019

I’ve upgraded Logary to latest Expecto and it works for me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Simple debug-level Python logging fails?
Here's a bit of code I'm running under Python 3.3.2: import logging logger = logging.getLogger("test.logger") logging.getLogger().setLevel( ...
Read more >
Rsyslog is not working properly, it does not log anything
Most probably it's a file ownership problem. rsyslog starts running as root but then drops privileges and runs as user syslog (configuration ...
Read more >
var/log/auth.log not logging failed ssh attempts
@Georgejnr : If that is the case, it appears that the syslog configuration on your system is broken. There is normally a syslog...
Read more >
syslog - No logs are written to /var/log
Ok, I found solution somewhere else: sudo apt-get install --reinstall rsyslog. It seems rsyslog was removed itself at some point.
Read more >
Chapter 34. Configuring a remote logging solution
To use remote logging through TCP, configure both the server and the client. The server collects and analyzes the logs sent by one...
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