You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
configured my start command cannot perform any sort of logging or output to stdout:
#!/usr/bin/env ruby
require 'logger'
class Job
attr_accessor :logger
def initialize
@logger = Logger.new('job.log')
end
def log(string)
@logger.info(string)
# File.open('job.log', 'w') do |f|
# f.write(string)
# end
# puts string
end
def run
a = []
while true; a << 'x' * 1024; end
log("size: #{a.size / 1024}M")
end
end
j = Job.new
j.run
If I have the option
configured my start command cannot perform any sort of logging or output to stdout:
I also tried these options:
but did not see any notable change in behavior.
The text was updated successfully, but these errors were encountered: