similar to: log4r versus default rails logger??? recommendations???

Displaying 20 results from an estimated 20000 matches similar to: "log4r versus default rails logger??? recommendations???"

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 use log4r in rails follows a
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 the logger system will be reinitialized. This causes the
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 log4r with rails, or at least point me in the right
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?
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 log4r. => Booting Mongrel (use ''script/server webrick'' to force
2006 Jul 25
3
create production tables? use "rake db:migrate"?
Hi, What is the normal mechanism for creating the tables in the (a) test and (b) production databases. For example the following didn''t work for creating the production tables: a) change environment.rb to include "ENV[''RAILS_ENV''] ||= ''production''" b) run "rake db:migrate" However this seemed to still work against DEV not
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
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 file to load -- log4r So - I dutifully tried running rake
2006 Jul 26
3
Capistrano - freezes & I don''t get prompted for password??
Hi, Just having a problem trying to get capistrano working to the remote server. I''ve set things up per the below to links, but when I enter "cap setup" (or "rake remote:exec ACTION=setup" - I assume they are the same) then things FREEZE and it never asks me for a password. I have to kill the "cmd" window. Is there a way to get some level of trace or
2006 Jul 27
5
Dreamhost working deploy.rb? Can anyone post/send me a copy?
Hi, Just trying to get Capistrano working to Dreamhost. I''m hitting a permissions issue on the reaper file at the moment. Has anyone a copy of the capistrano DEPLOY.RB file they could post or send me a copy of please? Thanks Greg -- Posted via http://www.ruby-forum.com/.
2006 Jul 26
9
RadRails config? Getting blank project only created?
Hi, Does anyone know how to correctly configure RadRails (0.7)? I can''t seem to get 0.7 version of radrails to create a Rails project. All I get is a blank project. I have ensured that my PATH does point to my ruby\bin area. Also any clarification regarding which directory (with an example) should be used for the following preferences setting (are they asking for a file or
2006 Aug 12
1
Which defect tracking tool (Dreamhost)
Hi, Just wondering what people use for defect tracking generally in the RoR community? Is there an open-source/free online defect tracking site available? I already have my own SVN via dreamhost but am now thinking about use of a specific defect tracking system for defects/enhancements to track them. Note - I''ve gone for Dreamhost hosting. Not sure if there is a specific
2012 Jan 16
0
Rails3 logging issue in development.log
I have a rails3 app, i need to log all into development.log, But when i check after the execution, the development.log is empty...How to rectify this problem... *development.rb* * * ApiMofobi::Application.configure do # Settings specified here will take precedence over those in config/application.rb # In the development environment your application''s code is reloaded on #
2006 Jul 19
11
Hosting a Ruby App From Home - Approach?
Hi, Any advice/comments on the potential for hosting some personal Ruby applications from home? (i.e. for learning, sharing with friends etc) Would the basic concept be: * Need to buy a static IP address from you ISP * By a domain name and point it to the static IP address * Run Apache as the front end web server - Q: What basic lockdown/security steps should one take? * Perform a PORT
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 the Google Groups "Ruby on Rails:
2007 Feb 13
2
SMS service for Rails app alerts - recommendations for free/cheap service/approach for rails apps???
Hi, I''m interested in triggering SMS alerts from my Rails app (hosted on Dreamhost) for key events or errors. Any recommendations re whether there is a free SMS service to enable this? Or else a cheap service? Also whether there is a rails plugin to make this easy? Tks Greg --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to
2005 Dec 09
0
Default Logger -> Database log
Hi listers, I''m trying to save my log entries in the database using the following technique : http://wiki.rubyonrails.com/rails/pages/DatabaseLoggerWish I''ve added the following code to the Environment.rb : ---------------------------------------------------------------------------- begin RAILS_DEFAULT_LOGGER = DBErrorLogger.new() rescue StandardError
2006 Jul 23
18
help with "rake db:migrate" error please?
Hi, Just trying to get my first database based rails app up on dreamhost.com. The app was working prior to putting in mysql DB usage but I''m just stuck on getting the app working with mysql. I''ve already created the database and can connect to it manually. Below is the error I get after running the rake migrate. It worked OK on my home PC environment. I did change the
2006 Sep 04
2
"include" versus "extend" - what's the difference
Hi, Just wondering when one would use "include" over "extend"? Both seem to bring in methods to the class no? The context is I''m just trying to understand why both are used with the acts_as_audited plugin: Full extract from plugin (used within here): ================================================== # Copyright (c) 2006 Brandon Keepers # # Permission is hereby
2006 Aug 15
3
Versions Compatibility and RAILS_GEM_VERSION
Is there any problem with versions compatibility? A project I started with 1.1.2 cannot run with 1.1.4. Dreamhost recently updated their rails from 1.1.2 to 1.1.5 and 1.1.6. Needless to say I got "Application Error". However when I changed RAILS_GEM_VERSION to either 1.1.5 or 1.1.6, it works. (Haven''t made a thorough checking though.) Here it seems there is no