cloud_controller/config/final_stage/event_log.rb
def event(*args)
      args.unshift(Time.now)
      ev = args.compact.pretty_print_inspect
      logger.info(ev)
      NATS.publish('vcap.cc.events', args.to_json)
    end
# The event includes a timestamp, so logging anything other than the event is redundant
The event includes a timestamp, so logging anything other than the event is redundant
The event includes a timestamp so logging anything other than the event is redundant
def event(*args)
      args.unshift(Time.now)
      ev = args.compact.pretty_print_inspect
      logger.info(ev)
      NATS.publish('vcap.cc.events', args.to_json)
    end
def event ( * args ) args . unshift ( Time . now ) ev = args . compact . pretty_print_inspect logger . info ( ev ) NATS . publish ( 'vcap.cc.events' , args . to_json ) end
The event includes a timestamp, so logging anything other than the event is redundant
The event includes a timestamp so logging anything other than the event is redundant
args