gemstash icon indicating copy to clipboard operation
gemstash copied to clipboard

Update Gemstsah::Logging.logger to use configured logfile

Open technicalpickles opened this issue 7 months ago • 2 comments

Description:

This was hard-coded to $stdout, but should use what a user configures.


Tasks:

  • Describe the problem / feature
  • Write tests

I will abide by the code of conduct.

technicalpickles avatar Apr 04 '25 19:04 technicalpickles

I just realized now that this is being used, gemstash ends up defaulting to the server.log. That means that there is no output when running gemstash start.

If that is the case, and the logfile hasn't been used, I think it'd make sense to default log_file to stdout instead

technicalpickles avatar Apr 04 '25 19:04 technicalpickles

@technicalpickles I'm seeing a bunch of failing tests. What is the status here?

NathanZook avatar May 18 '25 05:05 NathanZook

I don't recall the errors, but updating the branch from main was enough to fix it 🤷🏻

technicalpickles avatar Jul 09 '25 19:07 technicalpickles