Displaying 20 results from an estimated 100000 matches similar to: "user access logging..."
2006 Jan 12
3
How to Selectively Quite SQL Logging
I know about logger.silence but here is the issue: I''m comfortable with
the way the user engine is working, but it generates quite a bit of SQL
noise in the logs. I''d like, for that engine, to suppress the SQL
logging.
Code in it has return statements in conditionals, e.g.,
if !user?
RAILS_DEFAULT_LOGGER.debug "checking guest authorisation for
2005 Sep 28
0
Logging to the server
I could never get the hang of logging to an area on the current page.
Also, there are cases where I want to keep track of logged information.
Fortunately, there''s a surprisingly simple alternative: logging to the
server. Below is my first stab using prototype.js (of course) and
Rails.
Michael
Logger = {
loggingUrl: ''/myapp/admin/log'',
debug: false,
log:
2008 Sep 05
1
Call-leg stays on MusicOnHold forever
Hi
I have a strange behaviour; perhaps someone who had a similar issue
can help.
I have an Asterisk-1.4.21.2 connected via sip trunk to a Cisco Call-Manager
6.1 cluster.
Two phones/users from the Cisco environment call extensions on the Asterisk.
Phone 1 / Call 1 is parked on the asterisk using:
exten => xyz,1,Answer()
exten => xyz,n,Set(PARKEXTENSION=555)
exten => xyz,n,Park()
Phone
2012 May 22
0
Logging progname with Rails differs from Ruby
There are some differences in how Ruby 1.9.3-p198 and Rails 3.2.3
handle logging a program name.
# Standard Ruby Logger:
logger.error(''program name''){''message''}
logger.error(''program name''){exception}
# Rails:
Rails.logger.error(''message'', ''program name'')
Rails.logger.error(exception, ''program
2006 Oct 29
1
Asterisk Voicemail with ODBC Realtime Access
Hi
I was trying to have realtime voicemail working with ODBC Driver.
Everything works fine with MySQL Realtime access, BUT as I want to implement
ODBC Storage as well, it seems that everything should go through ODBC ( what
I read on voip-info wiki page )
But I do not manage to make it work with ODBC.
Outside Asterisk, ODBC works fine, I can access my databases & tables !
Asterisk fails to
2008 Jan 30
2
How do I get logging with rspec?
Say I''m testing a controller with rspec, and I have logger.debug and
logger.error calls.
Normally I''d like them to write to the appropriate file, but in this
case I''d like to see the output on STDOUT.
Is there an easy way to redirect logging in rspec to do this?
I''m thinking that
controller.should_receive(:logger).and_return(logger)
should start it off,
2023 Sep 19
1
Subsystem sftp invoked even though forced command created
This is a new branch of an old thread, made necessary because the email system here purges sent messages after a period of time so I can't reply to the last message in the thread. The operative portion of that last message (retrieved from the archives and dated July 3, 2023) follows:
/*****/
So I set up a fresh key to use for this test, and gave it similar parameters.
I wasn't aware of
2007 Oct 31
0
Problem with flash hook
Hi,
I facing a problem with flash hook. When ever I do a flash hook to place an
extsing call on hold, the call gets disconnected. The debugs on Asterisk
shows that 'on hook event detected' when I press the flash button on the
phone. The setup is like this
Asterisk box with T1 cards and FXS cards. The T1 card is connected to an IAD
and configured for ISDN PRI lines. Analog phones come
2006 Aug 13
3
Logging in Rails
This is a newbie question, I have a class which is not derived from
ActionController or ActiveRecord but I want to use logging, I tried require
but still logging does not work -
This class is located in a file in "model" directory.
------------------------------------
require ''logger''
class Cart
def add_product(product)
logger.info("Searching for product
2006 Feb 02
0
Agents, queues and zombies
Hi all,
Have been experimenting with agents and queues instead of placing calls
direct to a user's phone extension, but I've run into problems with calls to
both the agent and the extension which creates a zombie and double records
calls abandoned etc. We're using a unique queue for each agent (only a
handful of users) to try and get some agent/queue information to see what
the
2007 Dec 22
0
Dead Incoming call - Sangoma A200
Hello List,
I am having a strange issue with a trixbox system we installed for a client, and I would appreciate any help on this one. The issue is that occasionally when they go to answer an inbound call from the Sangoma A200 - there is no one there, and they are presented with dial tone. The calling party is hung up.
A bit of background:
The client actually has two systems install (one at
2003 Nov 03
0
problem with fix() called from Rcmdr
Dear list members,
I and my students have encountered an intermittent problem using the Rcmdr
package (version 0.9-0) under Windows (with the SDI). The problem occurs
both in versions 1.7.1 and 1.8.0 of R.
The problem seems to occur only in the following context: The "Edit data
set" button is pressed in the Rcmdr GUI. This executes the fix() function
on the active data frame,
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 Jul 20
1
Application logging in R
Hello,
I'm curious to know how people log their applications in R. It seems
like it's a combination of cat statements or writing out the session to
a file, given the discussions I've had with people. This is fine for
interactive work but is a little lacking for automated systems. To
address this, I've written a logging facility modeled on the log4j Java
library. The basic concept
2018 Jun 06
2
AMI manager logins - omitting from logging output?
Hi.
Is there any way to eliminate AMI manager logins from the logging output
(without just turning the log level down and thereby losing lots of other stuff
as well)?
I'm running Asterisk 13.14.1 as a backend service to LVS/IPVS, and using the
AMI login as the "service alive" check to see which backend servers are
available to take new commands.
This results in lots of
[Jun
2008 Feb 07
1
SIP / RTCP statistics logging
G'day. I am wanting to find out how my SIP service is performing with
Asterisk, especially jitter and dropped packets.
I can get an overview of that using the 'rtcp stats' function at the
console, but is there any way to get those logged to a file or some
other permanent record?
Nothing in logger.conf seems applicable, save perhaps directing verbose
messages somewhere, but it
2010 Aug 09
0
Logging form delayed job class
I have asked this before without any luck, trying again.
this is what I have in my dj.rb initializer
Delayed::Worker.backend = :active_record
Delayed::Worker.logger = Rails.logger
#Delayed::Worker.logger = ActiveSupport::BufferedLogger.new("log/
##{Rails.env}_delayed_jobs.log", Rails.logger.level)
class Delayed::Job
def logger
Delayed::Worker.logger
end
end
if
2006 Feb 26
0
Ajax, MemoryStore and sessions
Have you ever worked with Ajax, memoryStore and sessions in Rails?
I''m trying to pass a value through a session variable to various methods.
I''m calling the methods with Ajax on a submit button. I do this twice on a
page. The first time I pass a variable from the page to the controller and
store it in the session and write a log entry. This works fine. When the
second button
2008 Nov 24
8
Cucumber Custom Logging
Where and how do you put custom logger statements in cucumber? I
understood (more or less) how to do this in rspec in the spec_helper
file but I do not know where to start with cucumber.
I want to add a simple identifying text line in the log file to assist
in picking through the output. Something akin to:
Running Scenario: X
Feature I should have this logged
....
Feature This should
2010 Jun 14
1
logging stopped suddenly
Hello list,
I noticed today that the last logfiles dates 3 days ago !
The logfiles are rotated every night. The logfiles of 2 days ago, 1 day
ago and today are empty !
vps*CLI> module show like logger
Module Description
Use Count
0 modules loaded
vps*CLI> logger reload
[Jun 14 11:57:19] == Parsing