Displaying 20 results from an estimated 300 matches similar to: "problems unpacking log4r"
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 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
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
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
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:
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 how to do this in rails?
Basically:
raise e or some other cause
2010 Mar 17
3
Vector multiplication
Hi,
this may sound stupid (and it probably is), but I can't seem to find out how to multiply each element of a vector with each element of another vector where the result would be a matrix of dim[length(vectorOne),length(vectorTwo)] without using loops.
example: if
a -> c(1,2,3)
b -> c(4,5,6)
i'm looking for the operation that would yield:
[,1] [,2] [,3]
[1,] 4 8
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]
2011 Apr 28
10
Expanding a virtual block device
Hi list.
I''m running Xen 4.0.1 on Debian.
I''m trying to live resize a block device :
- I have a arbitrary block device in my dom0 (/dev/mapper/vm-vol42).
- I start a PV domain with that device as a disk (disk =
[''phy:/dev/mapper/vm-vol42,xvda,w'']).
- I resize vm-vol42 in the dom0 (adding size only)
- the dom0 sees the device''s new size.
-
2013 Dec 24
0
dashed by dashboard
Thoughts?
[root@ca-sna-pm01 config]# rake RAILS_ENV=production db:migrate
(in /usr/share/puppet-dashboard)
NOTE: Gem.source_index is deprecated, use Specification. It will be removed
on or after 2011-11-01.
Gem.source_index called from
/usr/share/puppet-dashboard/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:21.
config.gem: Unpacked gem rdoc-3.6.1 in vendor/gems has no
2009 Feb 18
5
fields_for and Conflicting types for parameter containers. Expected an instance of Hash but found an instance of Array.
I''m trying to use ''fields_for'' in a form. I want the same form to
support both the creation of new obejcts as well as the editing of old
ones. So - in my controller, sometimes I will pass to the form an
object that already exists in my database and has an id and other
times I will pass it a newly created instance of an object that does
not yet exist in the database and
2012 Nov 19
6
puppet-dashboard - rake API not working
Hello all,
I am quite new to the puppet arena, but I am really impressed with puppet
as a tool and the possibilities it gives you with regards to managing many
systems.
I am running dashboard 1.2.14 and am trying to query via the rake API:
http://docs.puppetlabs.com/dashboard/manual/1.2/rake_api.html
when I do, I get the following error:
<snip>
# sudo -u puppet-dashboard rake -f
2010 Dec 08
1
configuration issue (Uninitialized constant Aftimagr (NameError) )
Hello All
I am getting this error, any one resolved this..... it''s urgent
ruby script/server --debugger
=> Booting WEBrick...
=> Debugger enabled
config.gem: Unpacked gem rspec-rails-1.1.11 in vendor/gems has no
specification file. Run ''rake gems:refresh_specs'' to fix this.
config.gem: Unpacked gem rubyist-aasm-2.0.2 in vendor/gems has no
specification file. Run
2020 Sep 07
3
Centos + VM + public ip
Hi,
I've got a dedicated server with OVH and I'd like to host a public VM. I'd
like Centos OS 7 or 8, I installed KVM already, I got the VM and bought the
IP and created a virtual mac id. I know I have to bridge it somehow but I
can't seem to find a proper tutorial. Do you know where to start?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Jul 21
6
pulling information from LDAP server using Ruby on Rails
Hello, I am currently working on a project using Ruby on Rails. So far,
I have a well-populated mySQL database the RoR refers to and the basic
scaffolding functions implemented. I also designed views/layouts that
furthers the basic scaffolding interface. No problem and no big
accomplishment by any means.
Now, I want to pull user information from an already existing LDAP
server and put that
2009 Feb 09
4
forms that mix new and old records
I''m trying to create a form/view that displays a mix of records that
exist in the database and records that the user is working on but that
don''t yet exist in the database. I want to leverage all of rails'' nice
form helpers, especially the params hash that it generates for the
records when the form is submitted. So - I am creating ''dummy'' records
with