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.

Harden runner log showing warnings instead of normal logs

See original GitHub issue

I noticed here that normal logs are being shown as warnings: https://github.com/miguelnietoa/stellar_sdk/runs/7881603461?check_suite_focus=true#step:20:4

This does not happen typically and I cannot find it for other runs. Here is a typical run: https://github.com/harden-runner-canary/dassana/runs/7880455490?check_suite_focus=true#step:12:4

@miguelnietoa thanks for using harden-runner! Do you have a configuration in your workflow that treats some kind of logs as warnings? I am trying to investigate why normal harden-runner logs are showing as warnings for your workflow run. If not, I will investigate further. Thanks!

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:13 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
miguelnietoacommented, Sep 13, 2022

Hi @miguelnietoa,

I forgot to update you on the original issue. The reason the harden-runner logs were showing as warnings is because erlef/setup-beam (erlef/setup-elixir has been renamed I believe to erlef/setup-beam) GitHub Action adds problem_matchers. These are regular expressions and they were matching the timestamp added to harden-runner logs.

@h0x0er had also created an issue to discuss it.

There is nothing much we can do about this. If you do not need the warnings from erlef/setup-beam Action, you can set disable_problem_matchers to true. That will solve the problem.

Please let me know if you have any follow up questions…

I have no further questions and leave it to your consideration whether this issue should be closed as it is outside the scope of harden-runner action.

Thanks for the research on this and bringing me up to speed! @varunsh-coder @h0x0er 😄 💯

1reaction
varunsh-codercommented, Sep 13, 2022

Hi @miguelnietoa,

I forgot to update you on the original issue. The reason the harden-runner logs were showing as warnings is because erlef/setup-beam (erlef/setup-elixir has been renamed I believe to erlef/setup-beam) GitHub Action adds problem_matchers. These are regular expressions and they were matching the timestamp added to harden-runner logs.

@h0x0er had also created an issue to discuss it.

There is nothing much we can do about this. If you do not need the warnings from erlef/setup-beam Action, you can set disable_problem_matchers to true. That will solve the problem.

Please let me know if you have any follow up questions…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Monitoring and troubleshooting self-hosted runners
Reviewing the self-hosted runner application log files ... You can monitor your self-hosted runners to view their activity and diagnose common issues.
Read more >
Define a Log Inspection rule for use in policies | Deep Security
Log Inspection rules issued by Trend Micro have a Configuration tab instead that displays the Log Inspection rule's configuration options (if any).
Read more >
Troubleshooting SQL Server Always On Availability Groups
In this article, we will discuss several issues that you may face while creating, configuring or maintaining an Always on Availability Group ...
Read more >
Troubleshoot a Full Transaction Log (SQL Server Error 9002)
Common reasons for a full transaction log · Log not being truncated · Disk volume is full · Log size is set to...
Read more >
Configure logging drivers - Docker Documentation
Each Docker daemon has a default logging driver, which each container uses ... To find the current logging driver for a running container,...
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