exception_log (Daemons::Application)

    # File lib/daemons/application.rb, line 258
        def exception_log
          require 'logger'

          l_file = Logger.new(File.join(pidfile_dir(), @group.app_name + '.log'))

          # the code below only logs the last exception
    #       e = nil
    #
    #       ObjectSpace.each_object {|o|
    #         if ::Exception === o
    #           e = o
    #         end
    #       }
    #
    #       l_file.error e
    #       l_file.close

          # this code logs every exception found in memory
          ObjectSpace.each_object {|o|
            if ::Exception === o
              l_file.error o
            end
          }

          l_file.close
        end