Displaying 20 results from an estimated 900 matches similar to: "Log4r database outputter"
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 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
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
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 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
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 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 the Google Groups "Ruby on Rails:
2005 Dec 19
3
tough activerecord problem
I have an application that is using active record outside of rails. the app
works fine w/o the activerecord code, but when I added activerecord to the
mix I started having trouble with constants not being recognized, e.g.:
[echo] 1) Error:
[echo] test_pipeline_cruncher(IntradayCruncher::TestPipelineCruncher):
[echo] NameError: uninitialized constant INFO
[echo]
2006 Aug 17
0
Help with best-practice for Rails Model
Hello!
So, I''m fairly new to Rails and I have a question that pertains to how
to best model something that is typically addressed via inheritance.
Here''s the situation:
I need to maintain an EventLog
There are several different "types" (eight at this point) of Events
All Events have a couple of attributes in common (user_id, event_at,
note, summary, type, etc.)
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/.
2011 Jun 28
2
A masked function is a masked function by any other name
Dear all,
It looks like I do not grasp the concept of masked functions enough as
to solve this trivial problem.
The code that replicates the problem (a source code tree that realizes
a R package actually) is under github so one can call it clone it
easily from the command line (though more experienced users will spot
the problem by browsing through the package code):
git clone http://jcborras at
2011 Oct 23
2
What do I need to fix to get this running?
I am trying to get Stronghold Kingdoms to run
Running ubuntu 10.04 and wine 1.3.31
I have installed and updated the game. Now when it starts it gets stuck in a checking for updates loop (it checks, then tries something else, and checks again etc)
I get the following:
Code:
fixme:exec:SHELL_execute flags ignored: 0x00000100
fixme:exec:SHELL_execute flags ignored: 0x00004100
2009 Nov 24
0
xrcise now works
Hi Mario,
The following change to outputter.rb did work for me. It looks like adding
a routine to string should also work but it didn''t for me. Thanks for your
help.
-Philip
===== from RubyForge ==========
Date: 2009-11-18 00:25
Sender: Konstantin Shabanov
After changing ''each'' method to ''each_line'' in outputter.rb
on lines 39 and 46 xrcise code
2009 Nov 23
1
xrcise not working
Hi. I''m back. Unfortunately I can''t get xrcise working. Here is the
sample xrc file and the resulting error messages:
=============== TestWxFb.xrc =========================================
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<resource xmlns="http://www.wxwindows.org/wxxrc" version="2.3.0.1">
2012 Aug 07
3
Barcode Generating With Label On Canvas by using Barby gem
********UNDEFINED METHOD REGISTER ERROR IN THE FALLOWING CODE *******
Hi all,
I am trying to generate barcode(including its name as label at the
bottom of barcode image for easy understand with out scanning by barcode
scanner).
For this I am Using barby, chuncky_png, rmagick gems.
I am using the fallowing code to generate label at bottom of image by
using rmagick gem:
gem
2009 Mar 27
0
xrciser problem
I built a Windows GUI using DialogBlocks v4.29, saved the resulting XRC
for processing with wxRuby''s xrciser tool.
Following Ruby products installed:
wxRuby is v 2.0.0
wxSugar is v0.1.22
Ruby is v1.9.1
Rubygems is v1.3.1
Running xrciser on the file gives the following:
C:\ruby>xrcise -o toolgui.rb tool.xrc
2006 Nov 09
2
Hi everybody! Greetings from sunny Columbus, OH!
Hey everyone, I just wanted to drop onto the list and say hi. My
name is Chad Humphries and I am a partner at a ruby and rails shop in
Columbus, OH called EdgeCase.
Up until two months ago we were doing all of our dev work in
test:unit. I had read about RSpec before and after hearing Jim
Weirich speak at the Columbus Ruby Brigade about similar ideas I
decided to give it a go for a
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
#
2009 Aug 10
2
xrcise -o test.rb ui.xrc
I built a small form in wxFormBuilder. In cmd i wrote
xrcise -o test.rb ui.xrc
output was
C:/ruby/lib/ruby/gems/1.9.1/gems/wx_sugar-0.1.22/lib/wx_sugar/xrc/outputter.rb:4
6:in `clean_id_attr_readers'': undefined method `each'' for
#<String:0xba5850> (No
MethodError)
from (erb):16:in `output''
from C:/ruby/lib/ruby/1.9.1/erb.rb:753:in `eval''