Aspect logging - ie, trigger logging of sql:update
Is it possible to...somehow attach an aspect to a JSTL action?
In other words,
like, for every
</sql:update> tag, could I somehow trigger some code to log the query that was executed?
I would love to add logging to all non SELECT statements to my app, and if there is an easy way to ... say, wrap the SQL tld, that would be great!
Can Log4j do this?
http://logging.apache.org/log4j/docs/index.html
Similar Messages
-
Auditing / Logging of policy updates/publishing?
Is there such a thing? Is any publishing of the policy logged anywhere?
We've had a couple of issues in last few weeks where one of our admins has pushed the wrong policy out to groups of people overwriting their proper policy and causing no end of headache's.
Is there any sort of auditing in place showing who changed policy, or what changes were made, or who pushed out what policy, when, and who to?This is what I got:
The Management Console will show the last user that edited a particular policy (on the main screen with the list of policies). Details of what changed would have to be done through manual SQL queries.
If this is not enough (which I suspect), please enter an enhancement request in order for PM to priorize this feature accordingly for future release.
>>>
From: Daniel Spinatto<[email protected]>
To:novell.support.zenworks.endpoint-security-management
Date: 12/15/2010 3:31 pm
Subject: Re: Auditing / Logging of policy updates/publishing?
Hey Andy,
Good question. There's nothing with 4.1 that I know of.
Let me ask anyway and I'll get back to you.
>>>
From: andystewartSL<[email protected]>
To:novell.support.zenworks.endpoint-security-management
Date: 12/10/2010 6:36 am
Subject: Auditing / Logging of policy updates/publishing?
Is there such a thing? Is any publishing of the policy logged anywhere?
We've had a couple of issues in last few weeks where one of our admins
has pushed the wrong policy out to groups of people overwriting their
proper policy and causing no end of headache's.
Is there any sort of auditing in place showing who changed policy, or
what changes were made, or who pushed out what policy, when, and who to?
Andy Stewart - Somewhere In Scotland
zcm 10.2.2, 4 servers in esx vm environment, 2000 users so far...
(i'd still rather be snowboarding)
andystewartSL's Profile: http://forums.novell.com/member.php?userid=1054
View this thread: http://forums.novell.com/showthread.php?t=427867 -
I have 2 ipad 2s. On the newer one I could log in and update to IOS 5 withno problem. On the older one I get the message "Your Apple ID has been disabled." No other explanation. Why can I log in on one ipad and I'm disabled on the other?
Well, I spoke too soon. Yes, I'm using the same account on both iPads, but I just changed my password for the umpteenth time and now I get the disabled message on both iPads. Just yesterday I was able to upgrade one to IOS 5 but got the error message on the other. I'm getting more confused by the minute.
-
I changed my email address and therefore changed my Apple ID and password on my Mac. Now when i want to use iCloud on my iPad and my iPhone my old email comes up as my Apple ID and I cant log in or update any apps on my iPhone or iPad. Can you help me?
Downlands wrote:
Cant sign out. No password for now reduntant appleid
If you're asked for the password to your previous Apple ID when signing out of iCloud - Apple Support -
Oracle 8i Lite: logging to sql plus - uid, password, host string - whats that
If i install "Oracle 8i Lite" (just locally, not networked). There are two important things : "Navigator", and "SQL Plus". If in navigator, I create a local database called "xxx" (tables under 'system' user). Then if i need to query - i go to SQL Plus. Fine, but how do we log in - what is the "host string" ?.
The login needs, Userid, Password, Host String. In some docs, it said the userid, password for 'system' account is 'system, manager' respectively. Anyways, now the host string , i had read the 'host string' will be like "@databasename", so I think for me, it will be "@xxx"
But the way, I'm understing, i cant log, and SQL Plus says something "TNS: could not resolve service name". Maybe i have to something with that tnsnames.ora file....?
Incase, you could give ANY information, kindly inform.
Thanks
null<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Mulyadi Kurniawan ([email protected]):
Host string usually refers to the host string that is stored in your TNSNAMES.ORA file. You can open TNSNAMES.ORA with a text editor.
If you get "TNS: could not resolve service name", it's either you have not start the database or your configuration in TNSNAMES.ORA is wrong.<HR></BLOCKQUOTE>
hi,
iam getting the same error(the TNS thing)can you be a bit more explaining regarding how to solve the problem.
thanks
null -
How to reduce transaction log in SQL Server 2000
Dear All gurus/experts,
I need your help. The problem is that the time to take to reduce transaction log in SQL server 2000 when I use shrink method. Are there another way to do that beside shrink database (right click : all tasks --> shrink database) ?
I appreciate your answers. TIA
Rgds,Hi Steve,
Is this for a test system or a production system?
For a test system, as per Ad's post, setting the recovery model to simple should do the trick.
For a production system, I'd recommend you leave the recovery model at full and set up transaction log backups. This will keep the log file at a reasonable size and you will gain point in time recovery (eg if you back up the logs on an hourly basis, you can recover the database to the last log backup, meaning you would never lose more than an hour's work).
Kind Regards,
Owen -
I was today invited to upgrade my iTunes when I logged on. Update failed. Every time I now try to open iTunes I get error messages. Second message reads "iTunes was not installed correctly. Please re-install iTunes. Error 7. Windows error 126". I now can't sync my iPhoneand I am worried that if I re-install I will lose all my contacts,calendar, notes, etc.
I too had this problems (Windows 8.1). A few weeks ago after the previous update before this version of itunes, I'd had a problem with the itunes store crashing and at that time I followed instructions to copy QTMovieWin.dll to the itunes folder, which fixed the store crashing.
Today I fixed the problem by:
Delete QTMovieWin.dll from C:\Program Files (x86)\iTunes.
Uninstall ALL Apple Software using Control Panel / Programs and Features. I uninstalled:
iTunes
QuickTime
Apple Mobile Device Support
Apple Application Support
Apple Software Update
Bonjour
Delete the folders:
C:\Program Files (x86)\iTunes
C:\Program Files (x86)\Common Files\Apple
Restart the computer
Reinstall QuickTime
Reinstall iTunes
Everything works GREAT now, including the iTunes store. You will not lose your media files, I got everything back, all my settings, playlists, etc. -
Alert log is not updated in Oracle 8i
Database is running
Alert log is not updated,not even after manually logswitch
I have created job on this but , it is not running itself while same job is runnig on other Db
DBA_JOBS shows null value for this job
I can run job manually ..then DBA_JOBS shows value
After creating a job ... it shows in invalid objects list
Thanks in advanceOracle_2410 wrote:
Please somebody help me !!!Its 3 month old problem!!!
For first problem "Alert log not getting updated"
Please post the os version and name. And output of below query
show parameter background
ls -lart (or dir) <path shown above>Regards
Anurag -
How to delete Transaction Logs in SQL database
Hi,
Can any one explain me the process how to delete the transcation logs in SQL database.
Thanks
SunilSunil,
Yes you can take online backup in MS SQL server.
The transaction log files contain information about all changes made to the database. The log files are necessary components of the database and may never be deleted. Why you want to delete it?
I am taking any backup, do i need to turn off the SAP server that is running at the moment or can i take it online
There are three main types of SQL Server Backup: Full Database Backup, Differential Database Backup and Transaction Log Backup. All these backups can be made when the database is online and do not require you to stop the SAP system.
Check below link for details
http://help.sap.com/erp2005_ehp_04/helpdata/EN/89/68807c8c984855a08b60f14b742ced/frameset.htm
Thanks
Sushil -
If you are running Personal Oracle, you do not need to give host
string to log in SQL Plus. However, database should be started
up first.
In order to run SQL Plus on a client workstation in client-
server environment, you should create a host string using Net
Easy Configuration. If you have created 'ORACLE' as the host
string, it is OK. You will also have to start a listener.sorry I was trying to reply to a post I read and had this
happen. Please ignore this. -
ShutDown Issue while log in Sql plus
when i log in Sql plus with username and password. it says Oracle Intialization or shutdown in progress.let me know please .
when i go to Application Development -> sql plus -> and when i type username sys as sysdba .and type require password.window close automatically . but when i type username and press ok .button it ask for password .and it working fine .let me know please . any help would be highly appreciated.
Edited by: user1095036 on Sep 2, 2012 2:33 PM -
Processing log not getting updated for send immediatly
Hi,
I have a custom output type and a Custom function module for issueing the output for delivery, my prob is that it processing log is getting updated for the send in batch and other options but it is not getting updated for the SEND IMMEDIATLY, I am using the same FM for the Output issue I am checking if they have selected output type as 4 if yes, I am calling a FM in perform by saying
PERFORM xxxxxxxx ON COMMIT
and in the perform I am calling a FM
CALL FUNCTION xxxxxxxxx in BACKGROUND TASK AS A SEPARATE TASK,
the functioanlity of issueing the output is working but the Processing log is not getting updated.
What might be the problem ? it is getting updated for Send in batch but not for except 4.I am updating Log using this form
at every step I am collecting the messages and passing them to this form.
FORM update_nast_log USING p_msgid
p_msgnr
p_msgty
p_msgv1
p_msgv2
p_msgv3
p_msgv4.
* Local data declaration
DATA: lv_msgid LIKE sy-msgid,
lv_msgnr LIKE sy-msgno,
lv_msgty LIKE sy-msgty,
lv_msgv1 LIKE sy-msgv1,
lv_msgv2 LIKE sy-msgv2,
lv_msgv3 LIKE sy-msgv3,
lv_msgv4 LIKE sy-msgv4.
* clear all the local variables
CLEAR:lv_msgid,
lv_msgnr,
lv_msgty,
lv_msgv1,
lv_msgv2,
lv_msgv3,
lv_msgv4.
* move message ID,number,msg type and the messsages
* to local variables
MOVE: p_msgid TO lv_msgid,
p_msgnr TO lv_msgnr,
p_msgty TO lv_msgty,
p_msgv1 TO lv_msgv1,
p_msgv2 TO lv_msgv2,
p_msgv3 TO lv_msgv3,
p_msgv4 TO lv_msgv4.
* Update nast table using nast protocol update
CALL FUNCTION 'NAST_PROTOCOL_UPDATE'
EXPORTING
msg_arbgb = lv_msgid
msg_nr = lv_msgnr
msg_ty = lv_msgty
msg_v1 = lv_msgv1
msg_v2 = lv_msgv2
msg_v3 = lv_msgv3
msg_v4 = lv_msgv4.
ENDFORM. " UPDATE_NAST_LOG -
Experts,
I am struggling with an application that reads the redo log. When it reads an update, it expects to receive all columns of the row, and not only, as it is currently, the key columns and updated columns only.
What do I have to do (either at the table level or at the database level) to force Oracle 9.2 to write the full image of the row to the redo log when an update is executed?
Advance ThanksHi,
You need Supplemental Logging. This can be enabled at the table level or at the database level. You can also chose what sort of supplemental logging: all values, or just add primary key columns.
http://www.oracle.com/pls/db102/search?word=supplemental+logging
Cheers,
Colin -
Domain.log is not updated anymore
Hi all,
Through a cleaning operation on the disk, I deleted the domain.log of our BPEL domain
Since then, as no new file has been created, I've tried to create a blank file domain.log or copy a similar file from another machine to put on it.
In any case, our BPEL domain stop to update this file, our process are still running, but we don't have log anymore, event in error case.
What I have to do to re-generate this domain.log ?
Thanks youAlso, please note that nothing new gets logged and periodically updates in the domain logs until and unless you do something on its domain.
Rather, you can see the default_insland logs of that container in the opmn/logs folder.
Regards
Anirudh Pucha -
I am trying to log onto SQL Plus but I am getting this error.
ORA - 1256: TNS: Protocol adapter error
I am using
Scott as the username
tiger as password
placing nothing in the host string.
Help would be appreciated.If you're still having problems, could you post the install steps you
followed (including version numbers), how you created the database,
the correct error number (12560?), and what steps you've used to try
and resolve the problem? Web search engines contain a lot of hits on
common TNS errors. Also, if you think this is a problem with installation,
the Installation forum is at:
http://www.oracle.com/forums/forum.jsp?forum=64
-- CJ
Maybe you are looking for
-
Hi all, Hoping someone can help me as I can't see what I am doing wrong here. New iPad arrive this morning (woo hoo), however the photo's are just not syncing properly and never had any issues with the iPad 1. My photos are stored on an external hard
-
Hey, I'm writing a simple client/server app and I'm trying to test it on my local machine. Every time I try to connect to the server I get a ConnectException. I'm running Ubuntu Intrepid (which I suspect may have something to do with my problem). Thi
-
Does the RealPlayer Downloader work with Firefox 7
Does RealPlayer Downloader work with Firefox 7.xx
-
How can I update the FCE 4.0 to 4.0.1 in Mavericks?
I had to format my computer to install mavericks but when I installed the FCE again in my computer, I couldn't open my old projects because it said that those projects were made in another version (which was FCE 4.0.1) and now I don`t know the way to
-
How did they make the today view less useful ?
I can't see any of the appointments coming up now. It has vague number of items but no details. If I have something big the next day I'm no longer informed. This is a MASSIVE step backwards. If I have no items for the current day it take 4 lines of n