Sha256: e899481cb2b03817d832b1b7a875611d53e3a285e30ea7aa946645a2fd3c4eb8

Contents?: true

Size: 715 Bytes

Versions: 51

Compression:

Stored size: 715 Bytes

Contents

# Separate file since this is usually what is
# environment specific.
#

# Standard logging.
#
require 'logger'
Picky.logger = Logger.new File.expand_path('log/search.log', PICKY_ROOT)

# Example with using the syslog logger.
# Falling back to the standard log if it isn't available.
# (For example, because it is used locally and syslog is
# only available on the servers)
#
# begin
#   log_program_name = 'search/query'
#   Picky.logger    = SyslogLogger.new log_program_name
#   puts "Logging on syslog #{log_program_name}."
# rescue StandardError
#   puts "Could not connect to the syslog, using the normal log."
#   require 'logger'
#   Picky.logger = Logger.new(File.join(PICKY_ROOT, 'log/search.log'))
# end

Version data entries

51 entries across 51 versions & 1 rubygems

Version Path
picky-generators-3.5.1 prototypes/server/classic/app/logging.rb
picky-generators-3.5.0 prototypes/server/classic/app/logging.rb
picky-generators-3.4.3 prototypes/server/classic/app/logging.rb
picky-generators-3.4.2 prototypes/server/classic/app/logging.rb
picky-generators-3.4.1 prototypes/server/classic/app/logging.rb
picky-generators-3.4.0 prototypes/server/classic/app/logging.rb
picky-generators-3.3.3 prototypes/server/classic/app/logging.rb
picky-generators-3.3.2 prototypes/server/classic/app/logging.rb
picky-generators-3.3.1 prototypes/server/classic/app/logging.rb
picky-generators-3.3.0 prototypes/server/classic/app/logging.rb
picky-generators-3.2.0 prototypes/server/classic/app/logging.rb
picky-generators-3.1.13 prototypes/server/classic/app/logging.rb
picky-generators-3.1.12 prototypes/server/classic/app/logging.rb
picky-generators-3.1.11 prototypes/server/classic/app/logging.rb
picky-generators-3.1.10 prototypes/server/classic/app/logging.rb
picky-generators-3.1.9 prototypes/server/classic/app/logging.rb
picky-generators-3.1.8 prototypes/server/classic/app/logging.rb
picky-generators-3.1.7 prototypes/server/classic/app/logging.rb
picky-generators-3.1.6 prototypes/server/classic/app/logging.rb
picky-generators-3.1.5 prototypes/server/classic/app/logging.rb