Skip to content

Add RUBYLLM_LOG_FILE environment support#695

Open
Gujiassh wants to merge 1 commit intocrmne:mainfrom
Gujiassh:feat/log-file-env-var
Open

Add RUBYLLM_LOG_FILE environment support#695
Gujiassh wants to merge 1 commit intocrmne:mainfrom
Gujiassh:feat/log-file-env-var

Conversation

@Gujiassh
Copy link

Summary

  • let RubyLLM::Configuration.log_file default to ENV['RUBYLLM_LOG_FILE'] before falling back to $stdout
  • keep the feature scoped to configuration + logger initialization without touching the logging pipeline itself
  • add a focused logger spec covering the env-var default path

Validation

  • bundle exec rspec spec/ruby_llm_spec.rb
  • bundle exec rubocop lib/ruby_llm/configuration.rb spec/ruby_llm_spec.rb

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant