search for: log4r

Displaying 20 results from an estimated 41 matches for "log4r".

Did you mean: log4j
2006 Apr 11
2
using log4r and rails
hey everyone. i know somebody else had started a thread on this subject, but since no one seems to be answering that thread i thought i would start one of my one. i''m doing a project for a client and we need some seriously verbose logging. it looks like log4r can do what i need, but i can''t for the life of me figure out how to plug it into rails. everywhere talks about how easy it is, but nowhere can i find a description of how to actually do it. i''m using rails 1.1.2, lighttpd 1.4.11, and i''m on a mac. please, any help w...
2006 Apr 07
3
log4r and rails
Hey there folks. I would really like to use log4r as my default logger in Rails, but I''m having a hard time getting it to work. I''m not even sure I''m plugging it in in the right place. I''m using log4r 1.0.5 and rails 1.1.1. I would love it if someone could either point me to a good tutorial on how to use lo...
2006 May 21
0
Re: log4r and rails
The first question I would ask (partially out of curiosity) is what log4r specific feature are you trying to use? While there are some neat log4r features, the built in logger provides (from my perspective) a good logging framework already probably addresses most logging needs. http://wiki.rubyonrails.com/rails/pages/HowtoConfigureLogging That said, a basic setup to u...
2006 Jul 12
2
Initializing log4r once
I have a problem init''ing log4r. I have the following initialization code for log4r: Configurator[''logpath''] = ''./config'' # was ''./logs'' Configurator.load_xml_file(''config/log4r_config.xml'') I put it in appliction.rb, but then ofcourse at every request t...
2009 Dec 24
1
problems unpacking log4r
I was just starting to use log4r and everything was going peachy until I tired to unpack it into my local vendor/gems. The next time I tried to load my rails environment, I got: config.gem: Unpacked gem log4r-1.1.2 in vendor/gems has no specification file. Run ''rake gems:refresh_specs'' to fix this and: no such...
2006 Apr 04
0
Log4r database outputter
I recently had a look at Log4Net before we decided to go with Ruby On Rails. As part of evaluating Ruby and Rails, I had a look at Log4r as well. We want to use Log4r, and we would have a logger that output all levels to console and stdout, and everything above Warn to a database table. But the deployment of log4r doesn''t come with a database outputter. Is there any reason for this? Anyway, I''ve written an ou...
2011 Jun 28
2
A masked function is a masked function by any other name
...the package code): git clone http://jcborras at github.com/jcborras/rseedpkg.git rseedpkg builds and installs with the usual sequence: R CMD build rseedpkg R CMD INSTALL rseedpkg_0.01-1.tar.gz Last but not least one can test it from the command line: Rscript --verbose --default-packages=testthat,log4r -e "test_package('rseedpkg')" The thing is that if one changes the call log4r:::debug() to plain debug() in R/f1.r and R/f2.r then one ends up calling base:::debug() and not log4r:::debug() even though the former should be masked by the later as log4r is a package dependency of m...
2008 Jun 30
0
log4r warning message...
I installed log4r as a gem on Max OS X Leopard. When I start the server locally, I have a warning that I''d like to get rid of. I think this is a side-effect of log4r? Other rails projects that I am working on, on the same machine that don''t generate this warning. this one is the only one using log4...
2006 Aug 12
0
log4r versus default rails logger??? recommendations???
Hi all, Just into rails at the moment. What do people recommend for logging. Use of the rails logger or log4r (http://log4r.sourceforge.net/)? What are most production rails sites using? Tks -- Posted via http://www.ruby-forum.com/.
2010 Dec 23
0
logserver with log4r
Hey guys, I am trying to set up a logging server using log4r ! When I try to run the server I get the following error message "LogServer not supported. ROMP is required (RuntimeError)" I installed romp the way its mentioned in some blog with similar issue. Any ideas about it ? Thanks. -- You received this message because you are subscribed to...
2013 Nov 12
7
Hook into Exception Chain
Hi there, I''m using Log4r in my rails projects. On log.error an email is sent using the EmailOutputter. I know changed the EmailOutputter to include a global var in the subject (MDC) since the subject is normally static. I want to set this var to the exception message, so it is sent as the subject. Can anyone tell me h...
2006 Aug 18
0
Log4r SyslogOutputter example
Does anybody have a SyslogOutputter XML or YAML example that they got to work? -- Posted via http://www.ruby-forum.com/.
2006 Jul 06
7
REPOST: Musings on Rails and logging philosophies
[OK, since I stupidly posted this over the July 4th week[end] and got no responses, let''s try it again...] As a perpetual Rails dabbler, I make an awful lot of typical beginner mistakes. And the logs are always either too verbose or too sparse to help me. And it started me thinking. I came from one of the largest production OLTP systems in the world, and the one thing that helped
2005 Mar 04
17
active record logs format
Hi, I think this has already been asked on the list, but I can''t seem to be able to find it again: currently, active record does some weird thing with its sql logs i.e.: [4;33mSQL (0.000000) [1;37mPRAGMA table_info(map_locations) how do I remove the "[4;35m" thx Jean
2005 Dec 19
3
tough activerecord problem
...] test_pipeline_cruncher(IntradayCruncher::TestPipelineCruncher): [echo] NameError: uninitialized constant INFO [echo] c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/depend encies.rb:200:in `const_missing'' It seems like there is a clash between our Log4r and ActiveRecord constants. Any thoughts? _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
2007 Aug 10
3
[ win32utils-Bugs-12979 ] Error while trying to update my gem collection
Bugs item #12979, was opened at 2007-08-10 15:29 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=12979&group_id=85 Category: windows-pr Group: None Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: Error while trying to update my gem collection Initial Comment: C:\ruby>gem update Updating
2009 Jun 10
5
uninitialized constant ActiveSupport::Cache (NameError)
...2.5.3, 2.5.2, 2.5.0) cgi_multipart_eof_fix (2.5.0) columnize (0.3.0, 0.2) daemons (1.0.10) fastthread (1.0.1) fxri (0.3.7) fxruby (1.6.19, 1.6.18, 1.6.17, 1.6.16) gem_plugin (0.2.3) highline (1.5.1, 1.5.0, 1.4.0) hoe (2.0.0, 1.12.2, 1.11.0, 1.8.3, 1.8.2, 1.8.0) htmlentities (4.0.0) linecache (0.43) log4r (1.0.5) mini_magick (1.2.5, 1.2.3) mongrel (1.1.5) mongrel_cluster (1.0.5) mongrel_service (0.3.4) mysql (2.7.3) needle (1.3.0) net-scp (1.0.2, 1.0.1) net-sftp (2.0.2, 2.0.1) net-ssh (2.0.11, 2.0.9, 2.0.8, 2.0.6, 2.0.4) net-ssh-gateway (1.0.1, 1.0.0) newgem (1.4.1, 1.3.0, 1.2.3, 1.2.1, 1.2.0) ptool...
2012 Jan 16
0
Rails3 logging issue in development.log
...development environment your application''s code is reloaded on # every request. This slows down response time but is perfect for development # since you don''t have to restart the web server when you make code changes. #Rails.logger = Logger.new(STDOUT) #Rails.logger = Log4r::Logger.new("Rails Application Log") config.cache_classes = false # Log error messages when you accidentally call methods on nil. config.whiny_nils = true # Show full error reports and disable caching config.consider_all_requests_local = true config.action_controller.p...
2006 Jul 21
6
pulling information from LDAP server using Ruby on Rails
...r RoR to pull LDAP information. I found examples of using the ruby-ldap module in pure ruby code, but not within the rails framework. This led me to Ruby/ActiveLDAP. http://projects.dataspill.org/pages/projects/ruby-activeldap It requires the previously mentioned ruby-ldap module which I have and log4r as well. I installed the log4r gem. I then installed Ruby/ActiveLDAP from source. It was at this time that I followed these instructions: http://aaronbedra.com/pages/ldap Basically I add additional lines in environment.rb to connect to the LDAP server, create directory and user model files, then...
2007 Jun 06
1
ActiveLdap: no such file to load -- ldap (MissingSourceFile)
I just installed ActiveLdap, copied the plugin into vendor/plugins and setup a config/ldap.yml file. Starting rails gives me an error that it can not find the ldap source file. (I installed from the gem with its prerequisites log4r, etc.) /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'': no such file to load -- ldap (MissingSourceFile) from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'' from /usr/local/lib/ruby/gems/1.8/g...