Log4j - display logger.debug(...) from class to only a specific log file
I want logger.debug statement from one class (org.myorg.MyClass) to go to only one log file (logY.log, which is appender A1) and not to show in logX.log. With configuration below, logger.debug from org.myorg.MyClass is now shoing in both logX.log and logY.log.
What is the least amount of change (this is maintenance code) that can be done in the following log4j.properties to show logger.debug("aaa") from org.myorg.MyClass only in logY.log (appender A1) and not show in logX.log?
Following is log4j.properties:
log4j.rootLogger = DEBUG, stdout
log4j.appender.stdout=org.apache.log4j.RollingFileAppender
log4j.appender.stdout.File=${pathVariable}/logX.log
log4j.logger.org.myorg.MyClass=DEBUG, A1
log4j.appender.A1=org.apache.log4j.RollingFileAppender
log4j.appender.A1.File= ${pathVariable}/logY.log
log4j.rootLogger = DEBUG, stdout
log4j.appender.stdout=org.apache.log4j.RollingFileAppender
log4j.appender.stdout.File=${pathVariable}/logX.log
log4j.logger.org.myorg.MyClass=DEBUG, A1
log4j.appender.A1=org.apache.log4j.RollingFileAppender
log4j.appender.A1.File= ${pathVariable}/logY.log
...
What have you done so far?
What kind of approach are you going to take (aside from asking others to do it all for you)?
Have you written the algorithm in psuedo-code? If so, can we see it? We might be able to give you a few pointers.
Similar Messages
-
How to output java logging only to a log file except stderr?
I create a file logging and noticed that java logging output a log file and stderr simultanously. How to output the logging message only to the log file?
Thanks.HarishDv wrote:
I dont have indesign installed on my system. I only have the binary , which needs modification and i have to save back to the DB as indd.
Can't be done, for a realistic assessment of "can". InDesigns documents cannot reliably be created or modified without InDesign itself. (*)
If you need to do this on native InDesign documents, you have to buy and install it.
* "Not true, there is always IDML". But that's not a 'binary'; and you cannot (**) "convert" a binary INDD to IDML and back again without InDesign.
** Again, for a remotely realistic value of "can". -
Unable to debug the Data Template Error in the Log file
Hi,
I am unable to debug the log file error message Please can anybody explain me in detail where the error lies and how to solve the error.The log file shows the following message.
XDO Data Engine ver 1.0
Resp: 50554
Org ID : 204
Request ID: 2865643
All Parameters: USER_ID=1318:REPORT_TYPE=Report Only:P_SET_OF_BOOKS_ID=1:TRNS_STATUS=Posted:P_APPROVED=Not Approved:PERIOD=Sep-05
Data Template Code: ILDVAPDN
Data Template Application Short Name: CLE
Debug Flag: Y
{TRNS_STATUS=Posted, REPORT_TYPE=Report Only, PERIOD=Sep-05, USER_ID=1318, P_SET_OF_BOOKS_ID=1, P_APPROVED=Not Approved}
Calling XDO Data Engine...
java.lang.NullPointerException
at oracle.apps.xdo.dataengine.DataTemplateParser.getObjectVlaue(DataTemplateParser.java:1424)
at oracle.apps.xdo.dataengine.DataTemplateParser.replaceSubstituteVariables(DataTemplateParser.java:1226)
at oracle.apps.xdo.dataengine.XMLPGEN.writeData(XMLPGEN.java:398)
at oracle.apps.xdo.dataengine.XMLPGEN.writeGroupStructure(XMLPGEN.java:281)
at oracle.apps.xdo.dataengine.XMLPGEN.processData(XMLPGEN.java:251)
at oracle.apps.xdo.dataengine.XMLPGEN.processXML(XMLPGEN.java:192)
at oracle.apps.xdo.dataengine.XMLPGEN.writeXML(XMLPGEN.java:222)
at oracle.apps.xdo.dataengine.DataProcessor.processData(DataProcessor.java:334)
at oracle.apps.xdo.oa.util.DataTemplate.processData(DataTemplate.java:236)
at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:272)
at oracle.apps.fnd.cp.request.Run.main(Run.java:148)
Start of log messages from FND_FILE
Start of After parameter Report Trigger Execution..
Gl Set of Books.....P
Organization NameVision Operations
Entering TRNS STATUS POSTED****** 648Posted
end of the trns status..687 Posted
currency_code 20USD
P_PRECISION 272
precision 332
GL NAME 40Vision Operations (USA)
Executing the procedure get format ..
ExecutED the procedure get format and the Result..
End of Before Report Execution..
End of log messages from FND_FILE
Executing request completion options...
------------- 1) PUBLISH -------------
Beginning post-processing of request 2865643 on node AP615CMR at 28-SEP-2006 07:58:26.
Post-processing of request 2865643 failed at 28-SEP-2006 07:58:38 with the error message:
One or more post-processing actions failed. Consult the OPP service log for details.
Finished executing request completion options.
Concurrent request completed
Current system time is 28-SEP-2006 07:58:38
Thanks & Regards
Suresh SinghGenerally the DBAs are aware of the OPP service log. They can tell you the cause of the problem.
Anyway, how did you resolve the issue? -
Mac takes 5 mins to wake from sleep and I have bizarre log files
Can anyone help me figure out what is plaguing my mac. Is it haunted?
My Macbook Pro (mid 2012 ish) is behaving very strangely. When I wake it up from sleep, it takes five minutes before it is responsive and lets me log in. The progress bar at the bottom rapidly moves to the last bar, then freezes for five minutes.
When I look at the logs, there is bizarre behavior. I get pages and pages of these kind of events:
Jan 28 12:13:18 Matts-MacBook-Pro-2 kernel[0]: [0x8076547000, 0x1000]
Jan 28 12:13:18 Matts-MacBook-Pro-2 kernel[0]: [0x807654a000, 0x1000]
Jan 28 12:13:18 Matts-MacBook-Pro-2 kernel[0]: [0x807654e000, 0x1000]
Jan 28 12:13:18 Matts-MacBook-Pro-2 kernel[0]: [0x8076552000, 0x1000]
Jan 28 12:13:18 Matts-MacBook-Pro-2 kernel[0]: [0x8076556000, 0x1000]
Jan 28 12:13:18 Matts-MacBook-Pro-2 kernel[0]: [0x8076558000, 0x1000]
Jan 28 12:13:18 Matts-MacBook-Pro-2 kernel[0]: [0x807655c000, 0x1000]
Jan 28 12:13:18 Matts-MacBook-Pro-2 kernel[0]: [0x807655f000, 0x1000]
Jan 28 12:13:18 Matts-MacBook-Pro-2 kernel[0]: [0x8076562000, 0x1000]
Like, 20 or thirty pages.
My Mac wakes itself up in the middle of the night for no apparent reason, performs some operations, and then logs thousands of the kernel events like the one above.
My Mac also seems to be trying to connect to strange DNS addresses.
I uploaded a copy of the bizarre log files here.
https://dl.dropboxusercontent.com/u/59141003/Bizarre%20logs.rtf
It is malware? Is it a configuration issue? Is there a ghost in the machine?
Appreciate anyone's help with this.
Thanks much,
MattUnfortunately that didn't fix it. I removed the network drive (and everything else) from login items and there are still problems. The Macbook only takes 2-3 minutes to wake, but this is still a long time. (Strangely, immediately after I removed the login item, the Mac woke up in ~30 seconds). There is also some sort of kernel that is occurring thousands of times while the Mac is sleeping. No idea why.
Any ideas? Log files below:
Feb 3 13:51:15 Matts-MacBook-Pro-2 kernel[0]: [0x8170b72000, 0x1000]
Feb 3 13:51:15 Matts-MacBook-Pro-2 kernel[0]: [0x8170b74000, 0x1000]
Feb 3 13:51:15 Matts-MacBook-Pro-2 kernel[0]: [0x8170b76000, 0x1000]
Feb 3 13:51:15 Matts-MacBook-Pro-2 kernel[0]: [0x8170b9e000, 0x1000]
Feb 3 13:51:15 Matts-MacBook-Pro-2 kernel[0]: [0x8170ba2000, 0x1000]
Feb 3 13:51:15 Matts-MacBook-Pro-2 kernel[0]: [0x8170bcb000, 0x1000]
Feb 3 13:51:15 Matts-MacBook-Pro-2 kernel[0]: *** kernel exceeded 500 log message per second limit - remaining messages this second discarded ***
Feb 3 13:51:15 Matts-MacBook-Pro-2.local discoveryd[51]: Basic DNSResolver UDNS Send(): UDP Sendto() failed to DNSNameServer 192.168.1.1 Port 53 errno 50, fd 54, ErrLogCount 1 ResolverIntf:5
Feb 3 13:51:15 Matts-MacBook-Pro-2.local discoveryd[51]: Basic DNSResolver UDNS Send(): UDP Sendto() failed to DNSNameServer 192.168.1.1 Port 53 errno 50, fd 60, ErrLogCount 2 ResolverIntf:5
Feb 3 13:51:15 Matts-MacBook-Pro-2.local discoveryd[51]: Basic DNSResolver UDNS Send(): UDP Sendto() failed to DNSNameServer 192.168.1.1 Port 53 errno 50, fd 54, ErrLogCount 3 ResolverIntf:5
Feb 3 13:51:15 Matts-MacBook-Pro-2.local discoveryd[51]: Basic DNSResolver UDNS Send(): UDP Sendto() failed to DNSNameServer 192.168.1.1 Port 53 errno 50, fd 54, ErrLogCount 4 ResolverIntf:5
Feb 3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: hibernate_page_list_setall(preflight 0) start 0xffffff80d4833000, 0xffffff80d48d1000
Feb 3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: hibernate_teardown started
Feb 3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: hibernate_teardown: wired_pages 221016, free_pages 1081654, active_pages 575735, inactive_pages 201062, speculative_pages 182, cleaned_pages 0, compressor_pages 1356
Feb 3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: hibernate_teardown_pmap_structs done: last_valid_compact_indx 831016
Feb 3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: hibernate_teardown: mark_as_unneeded_pages 2048, 16858, 13454
Feb 3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: hibernate_teardown completed - discarded 32360
Feb 3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: hibernate_page_list_setall time: 394 ms
Feb 3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: pages 1171003, wire 172917, act 575735, inact 143, cleaned 0 spec 182, zf 200919, throt 0, compr 1356, xpmapped 40000
Feb 3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: did discard act 58566 inact 52699 purgeable 18963 spec 89519 cleaned 4
Feb 3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: WARNING: hibernate_page_list_setall skipped 7745 xpmapped pages
Feb 3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: hibernate_page_list_setall found pageCount 951252
Feb 3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: IOHibernatePollerOpen, ml_get_interrupts_enabled 0
Feb 3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: IOHibernatePollerOpen(0)
Feb 3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: encryptStart 14e970
Feb 3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: bitmap_size 0x3f8e0, previewSize 0x1b9dd0, writing 950450 pages @ 0x348020
Feb 3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: hibernate_rebuild started
Feb 3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: hibernate_rebuild_pmap_structs done: last_valid_compact_indx 831016
Feb 3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: hibernate_rebuild completed - took 67 msecs
Feb 3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: booter start at 3955 ms smc 0 ms, [13, 0, 0] total 8185 ms, dsply 820, 68 ms, tramp 550 ms
Feb 3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: hibernate_machine_init: state 2, image pages 172690, sum was 2936fa79, imageSize 0x671a3000, image1Size 0xf1e5000, conflictCount 1887, nextFree 13eb
Feb 3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: hibernate_newruntime_map time: 0 ms, IOHibernatePollerOpen(), ml_get_interrupts_enabled 0
Feb 3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: IOHibernatePollerOpen(0) 57 ms
Feb 3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: hibernate_machine_init reading
Feb 3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: PMStats: Hibernate read took 89939 ms
Feb 3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: hibernate_machine_init pagesDone 951025 sum2 c4873a84, time: 89939 ms, disk(0x20000) 15 Mb/s, comp bytes: 2598879232 time: 2677 ms 925 Mb/s, crypt bytes: 1476124672 time: 615 ms 2288 Mb/s
Feb 3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: Wake reason: EC.PME (User)
Feb 3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: Previous sleep cause: 5
Feb 3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: Previous shutdown cause: 0
Feb 3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: AppleThunderboltGenericHAL::earlyWake - complete - took 19 milliseconds
Feb 3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: TBT W (1): 0 [x]
Feb 3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: AirPort: Link Down on en1. Reason 8 (Disassociated because station leaving).
Feb 3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: en1::IO80211Interface::postMessage bssid changed
Feb 3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: ARPT: Wake Reason: Packet received with Netpattern
Feb 3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: ARPT: Wake Reason: Disassociation/Deauth received
Feb 3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: ARPT: Wake Reason: Retrograde TSF detected
Feb 3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: ARPT: Wake Reason: Beacons Lost
Feb 3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: ARPT: Wake Reason: PTK Refresh received
Feb 3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: ARPT: Wake Reason: EAP-Identity request received
Feb 3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: ARPT: Wake Reason: Wake on GTK failure
Feb 3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: ARPT: Wake Reason: Extended Magic Packet received
Feb 3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: ARPT: Wake Reason: Key Rotation Packet received
Feb 3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: ARPT: Wake Reason: Unicast frame received
Feb 3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: AirPort: Link Up on awdl0
Feb 3 18:21:02 Matts-MacBook-Pro-2.local configd[26]: [0x7fd4ed0223d0] [m]DNS query timeout (query time = 16186.890294), [46TE]
Feb 3 18:21:02 Matts-MacBook-Pro-2.local watchdogd[148]: [watchdog_daemon] @( pm_callback) - ref=0x0 msg_type=0xe0000320 msg=0x0
Feb 3 18:21:02 Matts-MacBook-Pro-2.local discoveryd[51]: Basic Bonjour stop listening on awdl0
Feb 3 18:21:03 Matts-MacBook-Pro-2.local WindowServer[124]: CGXDisplayDidWakeNotification [11673708712273]: posting kCGSDisplayDidWake
Feb 3 18:21:03 Matts-MacBook-Pro-2.local WindowServer[124]: handle_will_sleep_auth_and_shield_windows: Reordering authw 0x7f97374e5950(2000) (lock state: 3)
Feb 3 18:21:03 Matts-MacBook-Pro-2.local WindowServer[124]: handle_will_sleep_auth_and_shield_windows: err 0x0
Feb 3 18:21:04 Matts-MacBook-Pro-2 kernel[0]: ARPT: 11674.203693: AirPort_Brcm43xx::powerChange: System Wake - Full Wake/ Dark Wake / Maintenance wake
Feb 3 18:21:06 Matts-MacBook-Pro-2.local discoveryd[51]: Basic DNSResolver UDNSServer:: PowerState is Wakeup
Feb 3 18:21:06 Matts-MacBook-Pro-2.local sharingd[245]: 18:21:06.259 : SDStatusMonitor::kStatusWirelessPowerChanged
Feb 3 18:21:08 Matts-MacBook-Pro-2.local BezelServices 245.23[67]: ASSERTION FAILED: dvcAddrRef != ((void *)0) -[DriverServices getDeviceAddress:] line: 2602
Feb 3 18:21:09 Matts-MacBook-Pro-2.local discoveryd[51]: AwdlD2d AwdlD2dStartAdvertisingPair: 'matts-macbook-pro-2' Advertising service started
Feb 3 18:21:12 --- last message repeated 1 time ---
Feb 3 18:21:09 Matts-MacBook-Pro-2.local discoveryd[51]: AwdlD2d AwdlD2dStartAdvertisingPair: 'a4791cefff8789c800000000000008efip6arpa' Advertising service started
Feb 3 18:21:09 Matts-MacBook-Pro-2.local discoveryd[51]: Basic WABServer NetResolverEvent no resolvers, resetting domains
Feb 3 18:21:09 Matts-MacBook-Pro-2.local configd[26]: network changed: v4(en1-:192.168.1.5) DNS- Proxy-
Feb 3 18:21:09 Matts-MacBook-Pro-2.local racoon[199]: ioctl(SIOCGIFAFLAG_IN6) failed:Can't assign requested address
Feb 3 18:21:10 Matts-MacBook-Pro-2.local sharingd[245]: 18:21:10.012 : SDStatusMonitor::kStatusWirelessPowerChanged
Feb 3 18:21:10 Matts-MacBook-Pro-2.local UserEventAgent[16]: Captive: CNPluginHandler en1: Inactive
Feb 3 18:21:10 Matts-MacBook-Pro-2.local networkd[153]: +[NETLedBelly stopFastFail] Clearing ledbelly failure cache
Feb 3 18:21:10 Matts-MacBook-Pro-2.local discoveryd[51]: Basic DNSResolver UDNSServer:: PowerState is Wakeup
Feb 3 18:21:10 Matts-MacBook-Pro-2.local discoveryd[51]: Basic Bonjour,Warn Warning: IPv6 listener multicast send failed en1, 49
Feb 3 18:21:12 --- last message repeated 2 times ---
Feb 3 18:21:10 Matts-MacBook-Pro-2.local awacsd[152]: KV HTTP 0
Feb 3 18:21:10 Matts-MacBook-Pro-2.local discoveryd[51]: Basic Warn DD_Warn: Corrupt NSEC RDATA size
Feb 3 18:21:10 Matts-MacBook-Pro-2 kernel[0]: IO80211AWDLPeerManager::setAwdlOperatingMode Setting the AWDL operation mode from AUTO to SUSPENDED
Feb 3 18:21:10 Matts-MacBook-Pro-2 kernel[0]: IO80211AWDLPeerManager::setAwdlSuspendedMode() Suspending AWDL, enterQuietMode(true)
Feb 3 18:21:10 Matts-MacBook-Pro-2.local discoveryd[51]: Basic Bonjour,Warn Warning: IPv6 listener multicast send failed en1, 49
Feb 3 18:21:12 --- last message repeated 7 times ---
Feb 3 18:21:11 Matts-MacBook-Pro-2.local com.apple.backupd-helper[43]: Attempt to use XPC with a MachService that has HideUntilCheckIn set. This will result in unpredictable behavior: com.apple.backupd.status.xpc
Feb 3 18:21:12 Matts-MacBook-Pro-2.local discoveryd[51]: Basic Bonjour,Warn Warning: IPv6 listener multicast send failed en1, 49
Feb 3 18:21:12 Matts-MacBook-Pro-2.local airportd[30]: Property list invalid for format: 100 (property lists cannot contain objects of type 'CFType')
Feb 3 18:21:12 Matts-MacBook-Pro-2.local discoveryd[51]: Basic Bonjour,Warn Warning: IPv6 listener multicast send failed en1, 49
Feb 3 18:21:12 --- last message repeated 1 time ---
Feb 3 18:21:12 Matts-MacBook-Pro-2 kernel[0]: ARPT: 11682.620786: MacAuthEvent en1 Auth result for: e4:f4:c6:0d:32:e8 MAC AUTH succeeded
Feb 3 18:21:12 Matts-MacBook-Pro-2 kernel[0]: AirPort: Link Up on en1
Feb 3 18:21:12 Matts-MacBook-Pro-2 kernel[0]: en1: BSSID changed to e4:f4:c6:0d:32:e8
Feb 3 18:21:12 Matts-MacBook-Pro-2 kernel[0]: en1::IO80211Interface::postMessage bssid changed
Feb 3 18:21:12 Matts-MacBook-Pro-2 kernel[0]: AirPort: RSN handshake complete on en1
Feb 3 18:21:13 Matts-MacBook-Pro-2 kernel[0]: PM response took 3004 ms (27, powerd)
Feb 3 18:21:13 Matts-MacBook-Pro-2.local watchdogd[148]: [watchdog_daemon] @( pm_callback) - ref=0x0 msg_type=0xe0000300 msg=0x0
Feb 3 18:21:13 Matts-MacBook-Pro-2.local coreaudiod[238]: 2015-02-03 06:21:13.001786 PM [AirPlay] Power: SystemHasPoweredOn
Feb 3 18:21:13 Matts-MacBook-Pro-2.local coreaudiod[238]: 2015-02-03 06:21:13.002091 PM [AirPlay] BTLE client starting to browse for AirPlay Solo Target Presence.
Feb 3 18:21:13 Matts-MacBook-Pro-2.local sharingd[245]: 18:21:13.002 : Stopping Handoff scanning
Feb 3 18:21:13 Matts-MacBook-Pro-2.local sharingd[245]: 18:21:13.002 : Starting AirDrop server for user 501 on wake
Feb 3 18:21:13 Matts-MacBook-Pro-2.local wirelessproxd[49]: Failed to start a scan - central is not powered on: 0
Feb 3 18:21:13 Matts-MacBook-Pro-2.local wirelessproxd[49]: AirPlaySolo central manager can't be used to start scanning - not powered on
Feb 3 18:21:13 Matts-MacBook-Pro-2.local wirelessproxd[49]: Failed to stop a scan - central is not powered on: 0
Feb 3 18:21:15 Matts-MacBook-Pro-2.local awacsd[152]: KV HTTP 0
Feb 3 18:21:17 Matts-MacBook-Pro-2 com.apple.xpc.launchd[1] (com.apple.imfoundation.IMRemoteURLConnectionAgent): The _DirtyJetsamMemoryLimit key is not available on this platform.
Feb 3 18:21:17 Matts-MacBook-Pro-2.local configd[26]: network changed: DNS* Proxy
Feb 3 18:21:17 Matts-MacBook-Pro-2.local UserEventAgent[16]: Captive: [CNInfoNetworkActive:1709] en1: SSID 'Matt's Matrix' making interface primary (cache indicates network not captive)
Feb 3 18:21:17 Matts-MacBook-Pro-2.local UserEventAgent[16]: Captive: CNPluginHandler en1: Evaluating
Feb 3 18:21:17 Matts-MacBook-Pro-2.local UserEventAgent[16]: Captive: en1: Not probing 'Matt's Matrix' (cache indicates not captive)
Feb 3 18:21:17 Matts-MacBook-Pro-2.local UserEventAgent[16]: Captive: CNPluginHandler en1: Authenticated
Feb 3 18:21:17 Matts-MacBook-Pro-2 kernel[0]: en1: BSSID changed to e4:f4:c6:0d:32:e8
Feb 3 18:21:17 Matts-MacBook-Pro-2.local sharingd[245]: 18:21:17.293 : SDStatusMonitor::kStatusWirelessPowerChanged
Feb 3 18:21:17 Matts-MacBook-Pro-2 kernel[0]: en1: BSSID changed to e4:f4:c6:0d:32:e8
Feb 3 18:21:17 Matts-MacBook-Pro-2.local sharingd[245]: 18:21:17.355 : SDStatusMonitor::kStatusWirelessPowerChanged
Feb 3 18:21:17 Matts-MacBook-Pro-2.local networkd[153]: +[NETLedBelly stopFastFail] Clearing ledbelly failure cache
Feb 3 18:21:17 Matts-MacBook-Pro-2.local configd[26]: network changed: v4(en1!:192.168.1.5) DNS+ Proxy+ SMB
Feb 3 18:21:17 Matts-MacBook-Pro-2.local networkd[153]: +[NETLedBelly stopFastFail] Clearing ledbelly failure cache
Feb 3 18:21:17 Matts-MacBook-Pro-2 kernel[0]: en1: BSSID changed to e4:f4:c6:0d:32:e8
Feb 3 18:21:17 Matts-MacBook-Pro-2.local sharingd[245]: 18:21:17.363 : SDStatusMonitor::kStatusWirelessPowerChanged
Feb 3 18:21:18 Matts-MacBook-Pro-2.local airportd[30]: Property list invalid for format: 100 (property lists cannot contain objects of type 'CFType')
Feb 3 18:21:19 Matts-MacBook-Pro-2.local discoveryd[51]: Basic NATTServer Got device info URL: http://192.168.1.1:5000/Public_UPNP_gatedesc.xml
Feb 3 18:21:19 Matts-MacBook-Pro-2.local discoveryd[51]: Basic NATTServer,Warn RecvFrom failed 35 Resource temporarily unavailable
Feb 3 18:21:19 Matts-MacBook-Pro-2 kernel[0]: en1: BSSID changed to e4:f4:c6:0d:32:e8
Feb 3 18:21:19 Matts-MacBook-Pro-2.local sharingd[245]: 18:21:19.784 : SDStatusMonitor::kStatusWirelessPowerChanged
Feb 3 18:21:20 Matts-MacBook-Pro-2.local discoveryd[51]: Basic NATTServer Got control URL: http://192.168.1.1:5000//Public_UPNP_C3 (ip)
Feb 3 18:21:20 Matts-MacBook-Pro-2 kernel[0]: IO80211AWDLPeerManager::setAwdlOperatingMode Setting the AWDL operation mode from SUSPENDED to AUTO
Feb 3 18:21:20 Matts-MacBook-Pro-2 kernel[0]: IO80211AWDLPeerManager::setAwdlAutoMode Resuming AWDL
Feb 3 18:21:34 Matts-MacBook-Pro-2.local mds[33]: (DiskStore.Normal:2376) 7001 9.219400
Feb 3 18:21:34 Matts-MacBook-Pro-2.local BezelServices 245.23[67]: ASSERTION FAILED: dvcAddrRef != ((void *)0) -[DriverServices getDeviceAddress:] line: 2602
Feb 3 18:21:36 --- last message repeated 1 time ---
Feb 3 18:21:36 Matts-MacBook-Pro-2 kernel[0]: IOBluetoothUSBDFU::probe
Feb 3 18:21:36 Matts-MacBook-Pro-2 kernel[0]: IOBluetoothUSBDFU::probe ProductID - 0x821D FirmwareVersion - 0x0147
Feb 3 18:21:36 Matts-MacBook-Pro-2 kernel[0]: **** [IOBluetoothHostControllerUSBTransport][start] -- completed -- result = TRUE -- 0xc800 ****
Feb 3 18:21:36 Matts-MacBook-Pro-2 kernel[0]: **** [BroadcomBluetoothHostControllerUSBTransport][start] -- Completed -- 0xc800 ****
Feb 3 18:21:36 Matts-MacBook-Pro-2 kernel[0]: [IOBluetoothHCIController][staticBluetoothTransportShowsUp] -- Received Bluetooth Controller register service notification -- 0xc800
Feb 3 18:21:36 Matts-MacBook-Pro-2.local sharingd[245]: 18:21:36.216 : SDStatusMonitor::kStatusBluetoothPowerChanged
Feb 3 18:21:36 Matts-MacBook-Pro-2 kernel[0]: [IOBluetoothHCIController::setConfigState] calling registerService
Feb 3 18:21:36 Matts-MacBook-Pro-2 kernel[0]: **** [IOBluetoothHCIController][ProcessBluetoothTransportShowsUpActionWL] -- Connected to the transport successfully -- 0x4f80 -- 0xf800 -- 0xc800 ****
Feb 3 18:21:36 Matts-MacBook-Pro-2.local sharingd[245]: 18:21:36.322 : SDStatusMonitor::kStatusBluetoothPowerChanged
Feb 3 18:21:36 Matts-MacBook-Pro-2.local sharingd[245]: 18:21:36.323 : SDStatusMonitor::kStatusBluetoothPowerChanged
Feb 3 18:21:36 --- last message repeated 1 time ---
Feb 3 18:21:36 Matts-MacBook-Pro-2.local blued[60]: Release the WiFi lock
Feb 3 18:21:36 Matts-MacBook-Pro-2.local sharingd[245]: 18:21:36.365 : SDStatusMonitor::kStatusBluetoothPowerChanged
Feb 3 18:21:36 Matts-MacBook-Pro-2.local sharingd[245]: 18:21:36.366 : SDStatusMonitor::kStatusBluetoothPowerChanged
Feb 3 18:21:39 Matts-MacBook-Pro-2.local CalendarAgent[235]: [com.apple.calendar.store.log.caldav.coredav] [Refusing to parse response to PROPPATCH because of content-type: [text/html; charset=UTF-8].]
Feb 3 18:21:40 --- last message repeated 1 time ---
Feb 3 18:21:40 Matts-MacBook-Pro-2.local WindowServer[124]: device_generate_desktop_screenshot: authw 0x7f97374e5950(2000), shield 0x7f9737498760(2001)
Feb 3 18:21:40 Matts-MacBook-Pro-2.local WindowServer[124]: device_generate_lock_screen_screenshot: authw 0x7f97374e5950(2000)[0, 0, 1680, 1050] shield 0x7f9737498760(2001), dev [1680,1050]
Feb 3 18:21:42 Matts-MacBook-Pro-2.local com.apple.backupd[1106]: Starting automatic backup
Feb 3 18:21:43 Matts-MacBook-Pro-2 kernel[0]: nspace-handler-set-snapshot-time: 1423005705
Feb 3 18:21:43 Matts-MacBook-Pro-2.local com.apple.mtmd[23]: Set snapshot time: 2015-02-03 18:21:45 -0500 (current time: 2015-02-03 18:21:43 -0500)
Feb 3 18:21:43 Matts-MacBook-Pro-2.local com.apple.backupd[1106]: Attempting to mount network destination URL: afp://admin@R7000._afpovertcp._tcp.local/MattsBackup
Feb 3 18:21:45 Matts-MacBook-Pro-2 kernel[0]: ASP_TCP CheckReqQueueSize: increasing req queue from 32 to 128 entries. so 0xffffff8021327b88
Feb 3 18:21:47 Matts-MacBook-Pro-2 kernel[0]: pci pause: SDXC
Feb 3 18:21:51 Matts-MacBook-Pro-2.local com.apple.backupd[1106]: Mounted network destination at mount point: /Volumes/MattsBackup using URL: afp://admin@R7000._afpovertcp._tcp.local/MattsBackup
Feb 3 18:21:51 Matts-MacBook-Pro-2.local mds[33]: (Volume.Normal:2464) volume:0x7f81b4848000 ********** Bootstrapped Creating a default store:0 SpotLoc:(null) SpotVerLoc:(null) occlude:0 /Volumes/MattsBackup
Feb 3 18:21:54 Matts-MacBook-Pro-2.local soagent[303]: Can't allocate SOHelper <SOMessageHelper: 0x7f9d97987600> inside com.apple.soagent
Feb 3 18:21:54 Matts-MacBook-Pro-2.local soagent[303]: Can't allocate SOHelper <SOMessageHelper: 0x7f9d97978c30> inside com.apple.soagent
Feb 3 18:21:54 Matts-MacBook-Pro-2.local soagent[303]: Can't allocate SOHelper <SOMessageHelper: 0x7f9d95eaab60> inside com.apple.soagent
Feb 3 18:21:54 Matts-MacBook-Pro-2.local WindowServer[124]: CGXDisplayDidWakeNotification [11725085404121]: posting kCGSDisplayDidWake
Feb 3 18:21:54 Matts-MacBook-Pro-2.local WindowServer[124]: handle_will_sleep_auth_and_shield_windows: Deferring.
Feb 3 18:22:05 Matts-MacBook-Pro-2.local WindowServer[124]: device_generate_desktop_screenshot: authw 0x7f97374e5950(2000), shield 0x7f9737498760(2001)
Feb 3 18:22:05 Matts-MacBook-Pro-2.local WindowServer[124]: device_generate_lock_screen_screenshot: authw 0x7f97374e5950(2000)[0, 0, 1680, 1050] shield 0x7f9737498760(2001), dev [1680,1050]
Feb 3 18:22:18 Matts-MacBook-Pro-2.local WindowServer[124]: CGXDisplayDidWakeNotification [11748877872075]: posting kCGSDisplayDidWake
Feb 3 18:22:18 Matts-MacBook-Pro-2.local WindowServer[124]: handle_will_sleep_auth_and_shield_windows: Deferring.
Feb 3 18:22:18 Matts-MacBook-Pro-2.local loginwindow[67]: ERROR | -[LWBuiltInScreenLockAuthLion askForPasswordBuiltIn:] | Attempted to add an observer when already observing
Feb 3 18:22:22 Matts-MacBook-Pro-2 com.apple.xpc.launchd[1] (com.apple.auditd[1117]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.auditd
Feb 3 18:22:22 Matts-MacBook-Pro-2.local auditd[1117]: Auditing enabled
Feb 3 18:22:22 Matts-MacBook-Pro-2.local auditd[1117]: Got low space trigger
Feb 3 18:22:22 Matts-MacBook-Pro-2.local auditd[1117]: auditd_read_dirs(): all audit log directories over soft limit
Feb 3 18:22:22 Matts-MacBook-Pro-2.local auditd[1117]: renamed /var/audit/20150203154008.not_terminated to /var/audit/20150203154008.20150203232222
Feb 3 18:22:22 Matts-MacBook-Pro-2.local auditd[1117]: New audit file is /var/audit/20150203232222.not_terminated
Feb 3 18:22:22 Matts-MacBook-Pro-2.local mattchessen[1123]: audit warning: closefile /var/audit/20150203154008.20150203232222
Feb 3 18:22:22 Matts-MacBook-Pro-2.local mattchessen[1124]: audit warning: soft /var/audit
Feb 3 18:22:22 Matts-MacBook-Pro-2.local mattchessen[1122]: audit warning: allsoft
Feb 3 18:22:22 Matts-MacBook-Pro-2.local sharingd[245]: 18:22:22.363 : Stopping Handoff advertising
Feb 3 18:22:28 Matts-MacBook-Pro-2 com.apple.xpc.launchd[1] (com.apple.WebKit.WebContent.D48796F6-3978-4387-93C2-4989DCF9CBCA[955]): Service exited with abnormal code: 1
Feb 3 18:22:29 Matts-MacBook-Pro-2.local sharingd[245]: 18:22:29.192 : Stopping Handoff advertising
Feb 3 18:22:31 Matts-MacBook-Pro-2 kernel[0]: Sound assertion in AppleHDAFunctionGroup at line 1053
Feb 3 18:22:38 Matts-MacBook-Pro-2.local sharingd[245]: 18:22:38.132 : Stopping Handoff advertising
Feb 3 18:22:47 Matts-MacBook-Pro-2.local sharingd[245]: 18:22:47.121 : Stopping Handoff advertising
Feb 3 18:22:47 Matts-MacBook-Pro-2.local Console[1125]: Failed to connect (_consoleX) outlet from (NSApplication) to (ConsoleX): missing setter or instance variable
Feb 3 18:22:49 Matts-MacBook-Pro-2.local sharingd[245]: 18:22:49.125 : Stopping Handoff advertising
Feb 3 18:22:56 Matts-MacBook-Pro-2 kernel[0]: hfs: mounted Time Machine Backups on device disk3s2
Feb 3 18:22:57 Matts-MacBook-Pro-2.local com.apple.backupd[1106]: Disk image /Volumes/MattsBackup/Matt’s MacBook Pro (10).sparsebundle mounted at: /Volumes/Time Machine Backups
Feb 3 18:22:57 Matts-MacBook-Pro-2.local mds[33]: (Volume.Error:880) Root store set to FSOnly with matching create! (loaded:1)
Feb 3 18:22:59 Matts-MacBook-Pro-2.local com.apple.backupd[1106]: Backing up to /dev/disk3s2: /Volumes/Time Machine Backups/Backups.backupdb
Feb 3 18:23:02 Matts-MacBook-Pro-2.local com.apple.mtmd[23]: attempting to thin because of low free space on Hard Drive by removing 2015-02-03 09:45:02 -0500, estimate 0 bytes to recover, 1 snapshot can be thinned
Feb 3 18:23:18 Matts-MacBook-Pro-2 com.apple.xpc.launchd[1] (com.apple.auditd[1159]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.auditd
Feb 3 18:23:18 Matts-MacBook-Pro-2.local auditd[1159]: Auditing enabled
Feb 3 18:23:18 Matts-MacBook-Pro-2.local auditd[1159]: Got low space trigger
Feb 3 18:23:18 Matts-MacBook-Pro-2.local auditd[1159]: auditd_read_dirs(): all audit log directories over soft limit
Feb 3 18:23:18 Matts-MacBook-Pro-2.local mattchessen[1162]: audit warning: soft /var/audit
Feb 3 18:23:18 Matts-MacBook-Pro-2.local mattchessen[1163]: audit warning: allsoft
Feb 3 18:23:18 Matts-MacBook-Pro-2.local auditd[1159]: renamed /var/audit/20150203232222.not_terminated to /var/audit/20150203232222.20150203232318
Feb 3 18:23:18 Matts-MacBook-Pro-2.local auditd[1159]: New audit file is /var/audit/20150203232318.not_terminated
Feb 3 18:23:18 Matts-MacBook-Pro-2.local mattchessen[1165]: audit warning: closefile /var/audit/20150203232222.20150203232318
Feb 3 18:23:18 Matts-MacBook-Pro-2.local sandboxd[165] ([1158]): mdworker(1158) deny mach-lookup com.apple.distributed_notifications@1v3
Feb 3 18:23:22 Matts-MacBook-Pro-2.local com.apple.backupd[1106]: Will copy (16.1 MB) from Hard Drive
Feb 3 18:23:22 Matts-MacBook-Pro-2.local com.apple.backupd[1106]: Found 224 files (16.1 MB) needing backup
Feb 3 18:23:22 Matts-MacBook-Pro-2.local com.apple.backupd[1106]: 104.9 MB required (including padding), 372.13 GB available
Feb 3 18:23:30 Matts-MacBook-Pro-2.local sharingd[245]: 18:23:30.780 : Stopping Handoff advertising
Feb 3 18:23:34 Matts-MacBook-Pro-2.local sharingd[245]: 18:23:34.964 : Stopping Handoff advertising
Feb 3 18:23:35 Matts-MacBook-Pro-2 com.apple.WebKit.WebContent[1169]: BUG in libdispatch: 14B25 - 2943 - 0x4
Feb 3 18:23:36 Matts-MacBook-Pro-2 com.apple.xpc.launchd[1] (com.apple.WebKit.WebContent.26E586B0-8E8C-4BF8-9155-0732444C5876[1169]): Service exited with abnormal code: 1
Feb 3 18:23:36 Matts-MacBook-Pro-2 com.apple.xpc.launchd[1] (com.apple.imfoundation.IMRemoteURLConnectionAgent): The _DirtyJetsamMemoryLimit key is not available on this platform.
Feb 3 18:23:36 Matts-MacBook-Pro-2.local sharingd[245]: 18:23:36.966 : Stopping Handoff advertising
Feb 3 18:23:44 Matts-MacBook-Pro-2.local sharingd[245]: 18:23:44.299 : Stopping Handoff advertising
Feb 3 18:23:47 Matts-MacBook-Pro-2.local sharingd[245]: 18:23:47.463 : Stopping Handoff advertising
Feb 3 18:23:48 Matts-MacBook-Pro-2.local sharingd[245]: 18:23:48.890 : Stopping Handoff advertising
Feb 3 18:23:56 Matts-MacBook-Pro-2 com.apple.xpc.launchd[1] (com.apple.imfoundation.IMRemoteURLConnectionAgent): The _DirtyJetsamMemoryLimit key is not available on this platform.
Feb 3 18:23:57 Matts-MacBook-Pro-2.local sharingd[245]: 18:23:57.844 : Stopping Handoff advertising
Feb 3 18:23:58 Matts-MacBook-Pro-2 com.apple.xpc.launchd[1] (com.apple.imfoundation.IMRemoteURLConnectionAgent): The _DirtyJetsamMemoryLimit key is not available on this platform.
Feb 3 18:24:06 --- last message repeated 1 time ---
Feb 3 18:24:06 Matts-MacBook-Pro-2.local sharingd[245]: 18:24:06.844 : Stopping Handoff advertising
Feb 3 18:24:12 Matts-MacBook-Pro-2.local com.apple.backupd[1106]: Copied 254 items (16.1 MB) from volume Hard Drive. Linked 4264.
Feb 3 18:24:15 Matts-MacBook-Pro-2.local sharingd[245]: 18:24:15.839 : Stopping Handoff advertising
Feb 3 18:24:17 Matts-MacBook-Pro-2.local com.apple.backupd[1106]: Created new backup: 2015-02-03-182416
Feb 3 18:24:17 Matts-MacBook-Pro-2 com.apple.xpc.launchd[1] (com.apple.auditd[1175]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.auditd
Feb 3 18:24:17 Matts-MacBook-Pro-2.local auditd[1175]: Auditing enabled
Feb 3 18:24:17 Matts-MacBook-Pro-2.local auditd[1175]: Got low space trigger
Feb 3 18:24:17 Matts-MacBook-Pro-2.local auditd[1175]: auditd_read_dirs(): all audit log directories over soft limit
Feb 3 18:24:17 Matts-MacBook-Pro-2.local mattchessen[1178]: audit warning: soft /var/audit
Feb 3 18:24:17 Matts-MacBook-Pro-2.local mattchessen[1179]: audit warning: allsoft
Feb 3 18:24:17 Matts-MacBook-Pro-2.local auditd[1175]: renamed /var/audit/20150203232318.not_terminated to /var/audit/20150203232318.20150203232417
Feb 3 18:24:17 Matts-MacBook-Pro-2.local auditd[1175]: New audit file is /var/audit/20150203232417.not_terminated
Feb 3 18:24:17 Matts-MacBook-Pro-2.local mattchessen[1181]: audit warning: closefile /var/audit/20150203232318.20150203232417
Feb 3 18:24:18 Matts-MacBook-Pro-2 com.apple.xpc.launchd[1] (com.apple.imfoundation.IMRemoteURLConnectionAgent): The _DirtyJetsamMemoryLimit key is not available on this platform.
Feb 3 18:24:18 Matts-MacBook-Pro-2.local com.apple.backupd[1106]: Starting post-backup thinning
Feb 3 18:24:18 Matts-MacBook-Pro-2.local com.apple.backupd[1106]: No post-backup thinning needed: no expired backups exist
Feb 3 18:24:19 Matts-MacBook-Pro-2.local com.apple.backupd[1106]: Backup completed successfully.
Feb 3 18:24:19 Matts-MacBook-Pro-2.local sharingd[245]: 18:24:19.803 : Stopping Handoff advertising
Feb 3 18:24:22 Matts-MacBook-Pro-2 kernel[0]: hfs: unmount initiated on Time Machine Backups on device disk3s2
Feb 3 18:24:22 Matts-MacBook-Pro-2.local com.apple.backupd[1106]: Ejected Time Machine disk image: /Volumes/MattsBackup/Matt’s MacBook Pro (10).sparsebundle
Feb 3 18:24:22 Matts-MacBook-Pro-2 kernel[0]: AFP_VFS afpfs_unmount: /Volumes/MattsBackup, flags 0, pid 1185
Feb 3 18:24:22 Matts-MacBook-Pro-2 kernel[0]: ASP_TCP Disconnect: triggering reconnect by bumping reconnTrigger from curr value 0 on so 0xffffff8021327b88
Feb 3 18:24:22 Matts-MacBook-Pro-2 kernel[0]: ASP_TCP Detach: Reply queue not empty?
Feb 3 18:24:23 Matts-MacBook-Pro-2.local com.apple.backupd[1106]: Ejected Time Machine network volume.
Feb 3 18:24:28 Matts-MacBook-Pro-2.local sharingd[245]: 18:24:28.796 : Stopping Handoff advertising
Feb 3 18:24:37 Matts-MacBook-Pro-2.local sharingd[245]: 18:24:37.797 : Stopping Handoff advertising
Feb 3 18:24:46 Matts-MacBook-Pro-2.local sharingd[245]: 18:24:46.768 : Stopping Handoff advertising
Feb 3 18:24:55 Matts-MacBook-Pro-2.local sharingd[245]: 18:24:55.764 : Stopping Handoff advertising
Feb 3 18:25:03 Matts-MacBook-Pro-2.local sharingd[245]: 18:25:03.796 : Stopping Handoff advertising
Feb 3 18:25:12 Matts-MacBook-Pro-2.local sharingd[245]: 18:25:12.597 : Stopping Handoff advertising
Feb 3 18:25:24 Matts-MacBook-Pro-2.local sharingd[245]: 18:25:24.996 : Stopping Handoff advertising
Feb 3 18:25:54 Matts-MacBook-Pro-2.local sharingd[245]: 18:25:54.846 : Stopping Handoff advertising
Feb 3 18:26:03 Matts-MacBook-Pro-2.local sharingd[245]: 18:26:03.669 : Stopping Handoff advertising
Feb 3 18:26:09 Matts-MacBook-Pro-2.local sharingd[245]: 18:26:09.907 : Stopping Handoff advertising
Feb 3 18:26:11 Matts-MacBook-Pro-2.local sharingd[245]: 18:26:11.910 : Stopping Handoff advertising
Feb 3 18:26:20 Matts-MacBook-Pro-2.local SystemUIServer[229]: Attempt to use XPC with a MachService that has HideUntilCheckIn set. This will result in unpredictable behavior: com.apple.backupd.status.xpc -
How to send output from SQL script to the specified log file (not *.sql)
## 1 -I write sql command into sql file
echo "SELECT * FROM DBA_USERS;">results.sql
echo "quit;">>results.sql
##2- RUN sqlplus, run sql file and get output/results into jo.log file
%ORACLE_HOME/bin/sqlplus / as sysdba<results.sql>>jo.log
It doesn't work please advise$ echo "set pages 9999" >results.sql ### this is only to make the output more readable
$ echo "SELECT * FROM DBA_USERS;" >>results.sql
$ echo "quit" >>results.sql
$ cat results.sql
set pages 9999
SELECT * FROM DBA_USERS;
quit
$ sqlplus -s "/ as sysdba" @results >jo.log
$ cat jo.log
USERNAME USER_ID PASSWORD
ACCOUNT_STATUS LOCK_DATE EXPIRY_DAT
DEFAULT_TABLESPACE TEMPORARY_TABLESPACE CREATED
PROFILE INITIAL_RSRC_CONSUMER_GROUP
EXTERNAL_NAME
SYS 0 D4C5016086B2DC6A
OPEN
SYSTEM TEMP 06/12/2003
DEFAULT SYS_GROUP
SYSTEM 5 D4DF7931AB130E37
OPEN
SYSTEM TEMP 06/12/2003
DEFAULT SYS_GROUP
DBSNMP 19 E066D214D5421CCC
OPEN
SYSTEM TEMP 06/12/2003
DEFAULT DEFAULT_CONSUMER_GROUP
SCOTT 60 F894844C34402B67
OPEN
USERS TEMP 06/12/2003
DEFAULT DEFAULT_CONSUMER_GROUP
HR 47 4C6D73C3E8B0F0DA
OPEN
EXAMPLE TEMP 06/12/2003
DEFAULT DEFAULT_CONSUMER_GROUPThat's only a part of the file, it's too long :-) -
How can I extract the data from a Real-time Execution Trace ".log" file?
I would like to get the data for the traces from the Real-time Execution Trace toolkit ".log" file to read in Excel and generate a report.
Hi Chuck,
Have you tried reading it into a text or binary file first and then generating a report using the Report Generation VIs?
Ipshita C.
National Instruments
Applications Engineer -
How to Recover database from old backup and full archive log file
Hi Oracle expert!
I met problem when restore my oracle database.
In my case:
- My database version: 10.2.0.2
- I have a database full backup (01-Nov)
- I have all Archived log file from (01-Nov -> 05-Nov)
- My database drop in 05-Nov with disk error (no datafile, no redo..).
- I have no any RMAN backup from (01-Nov -> 05-Nov)
How can i restore my database to 05-Nov?
Thanksuser10280724 wrote:
Hi Chinar.
When i used RMAN flow as your step, but i met the problem!
- After recover database i select sequence#, applied from v$archived_log;
--> it apply newest archived log that i had.
- but when I select Data from table created between 01-Nov to 05-Nov, it not found!
Not the same way the step:
SQL> RECOVER DATABASE USING BACKUP CONTROLFILE UNTIL CANCEL?
It apply newest the same archived log i had table created between 01-Nov to 05-Nov.
How can i do with RMAN to recover my table?That is not possible,if your all available archive logs applied using rman or through sqlplus(recover database using backup controlfile until cancel) and one of these logs contain your table then there are not any problems.So there are not any difference between recovery using rman and user managed(using sqlplus),but there main matter is applying all archive logs.So first check through rman list copy of archivelog all or list backup of archivelog all and identify there in rman repository is any information or not about these logs. -
File does not exist: /java/classes message in Apache error log file
I am getting several of these messages in the Apache error logfile.
File does not exist: $JAVA_TOP (this is actually my physical patch for $JAVA_TOP)
Is it normal to see this messages or some configuration is wrong?
thanks,
AzodpePlease post the details of the application release, database version and OS.
I am getting several of these messages in the Apache error logfile.
File does not exist: $JAVA_TOP (this is actually my physical patch for $JAVA_TOP)Is this the complete error message?
Is it normal to see this messages or some configuration is wrong?If your application is functioning properly with no issues, then you can ignore those errors.
Thanks,
Hussein -
How to fetch and display arbitrary log files from a managed host?
We are creating a small management portal for a custom application and need a way to display, in a browser, the contents of an arbitrary log file located on an EM managed host. The effect we are looking for is similar to what you get when you show the contents of a database alert log using EM.
I want to extend the EM agent to get the log and display the contents, but see two problems: (1) it seems like we would have to schedule the fetch of the log contents to happen on a regular basis and would not be able to do it on demand and (2) storing the results in the EM repository seems like it could consume a pile of storage, even if it only stores the logs for 24 hours.
I am pretty sure we can bypass the repository somehow because I think the "show database alert log" EM process does so. Of course, I can't really be sure how this code is getting the alert log, but it seems reasonable to assume it is using the management agent.
Is there some API for the EM Agent that I am missing?
Any ideas would be appreciated.From within OEM it doesnt look possible. User defined metrics (UDM) can only return number or a string. The alertlog fetch is done via alertlogViewer.pl while being passed a couple of parameters.
OEM does have a preliminary/rough api available at http://www.oracle.com/technology/products/oem/emx/index.html but I havent seen anyone make use of it yet.
If you use just a web connection then you will probably run into security issues as a web server can usually only view/access stuff under their htmldoc dir.
Seems like some non-OEM very custom code is what you seek.. -
Debug info from ZAction not visible in log file
Hi,
i am trying to see debug info from my Z ActionClass in the log file. Debug messages from the standard actions from crm~avw applicaiton are visible. My ZAction is in the package com.customer and i have maintained this entry in VisualManager\LogManager in property SingleTraceFile_UnrestrictedLcoations. Part of the code is pasted below. Pls help.
public class ZAction extends BaseAction {
private static final IsaLocation log = IsaLocation.getInstance(ZAction.class.getName());
public ZAction()
public ActionForward doPerform(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException
log.debug("Entered ZAction");Hi,
I had also faced similar issue.
Try giving this way.
Give this inside the doperform
IsaLocation log =IsaLocation.getInstance(com.sap.isa.core.BaseAction.class.getName());
Hope this helps
Regards
Antony -
Problem with displaying the data from Database on swf file.
Hi ,
I am new to flash.Thanks in Advance Please help me....
Actually my requirement is my application consists a button(submit_Btn) when we click on the button(submit_Btn), each time it must to database(through servlet) and brings the data from database and places it on the flash swf file.Here my problem is for the first time when we click on the button it goes to database and place the data(which was returned from database) on the swf file.Next when we click on the button for the second time(or anytime) it is not going and bringing the new data from database(if some data is modified in database or not),Infact it is showing the old data(the data that was collected from previous ClickListener) only on the swf file and it is also not showing any complile time or run time error.
my Code looks like this:
submit_Btn.addEventListener(MouseEvent.CLICK,onCheck2);
function onCheck2(evnt:MouseEvent):void {
var xmlLoader:URLLoader = new URLLoader();
var xmlurl:String = "http://localhost:8888/xmlServlet";
var xmlrequest:URLRequest = new URLRequest(xmlurl);
xmlLoader.dataFormat = URLLoaderDataFormat.TEXT;
xmlLoader.addEventListener(Event.COMPLETE, xmlcompleteHandler);
xmlLoader.load(xmlrequest);
function xmlcompleteHandler(event:Event):void {
var loader:URLLoader = URLLoader(event.target);
var succData:String=loader.data;
var xmlData:XML = new XML();
var xmlList:XMLList;
xmlData = XML(loader.data);
xmlList = xmlData.children();
for (var i=0; i<xmlList.length(); i++) {
for (var n=0; n<xmlData.UserHumanap[i].HumanapDot.length(); n++) {
var x_coordinate:Number = xmlData.UserHumanap[i].HumanapDot[n].@x;
var y_coordinate:Number = xmlData.UserHumanap[i].HumanapDot[n].@y;
var point2:Point = new Point(x_coordinate,y_coordinate);
var circle:Sprite = new Sprite();
circle.graphics.beginFill(0x00ff00);
circle.graphics.drawCircle(point2.x,point2.y,3); //Placing the data as dots on the swf file
Thanks in Advance.......Please Help me..........
its Urgent..........
Thanks,
SwarthiCheckout following line in your code
var xmlurl:String = "http://localhost:8888/xmlServlet";
now change it to
var xmlurl:String = "http://localhost:8888/xmlServlet?random="+String(MAth.random());
I think you will get the point now -
Unused log file using FileHandler for two Logger
Hi,
I'm having some troubles with the using java.util.logging classes. To demontrate my problem I prepared the following code:
package org.prove.system;
import java.util.logging.Logger;
public class Child
private static final Logger LOG = Logger.getLogger("org.prove.system");
public static void main(String[] args)
Child.LOG.info("I'm ready too!!!");
package org.prove.logging;
import java.io.IOException;
import java.util.logging.FileHandler;
public class ParentFileHandler extends FileHandler {
public ParentFileHandler() throws IOException, SecurityException {
super();
package org.prove.logging;
import java.io.IOException;
import java.util.logging.FileHandler;
public class ChildFileHandler extends FileHandler {
public ChildFileHandler() throws IOException, SecurityException {
super();
}and the following is the configuration inside my logging.properties file
# Loggers configuration
org.prove.handlers = org.prove.logging.ParentFileHandler
org.prove.level = ALL
org.prove.useParentHandlers = false
org.prove.system.handlers = org.prove.logging.ChildFileHandler
org.prove.system.level = ALL
org.prove.logging.ParentFileHandler.pattern = %h/logs/Parent.%u.log
org.prove.logging.ParentFileHandler.formatter = java.util.logging.SimpleFormatter
org.prove.logging.ParentFileHandler.append = true
org.prove.logging.ChildFileHandler.pattern = %h/logs/Child.%u.log
org.prove.logging.ChildFileHandler.formatter = java.util.logging.SimpleFormatter
org.prove.logging.ChildFileHandler.append = trueNow, if you try my example you can find, inside the "logs" directory specified in the configuration file, some files:
- Child.0.log, which is the file for the org.prove.logging.ChildFileHandler;
- Parent.0.log, which is the file for the org.prove.logging.ParentFileHandler.
but you can also find:
- Parent.1.log;
- Parent.1.log.lck.
In particular the last two files are generated by the initialization of the org.prove.logging.ParentFileHandler, because inside the method addLogger of the LogManager class, after the initialization of the demanded logger there is a cycle to identify the parent of the logger itself.
Inside that cycle is invoked again the method demandLogger that, if not already initialized, creates the Logger, and after instantiates the handlers of that logger, generating the Parent.1.log and its lock file Parent.1.log.lck. This files are not used and at the end of the execution the lock file is not deleted as the others.
I hope my problem is clear and someone can help me to identify how to resolve it.
Thanks in advance
Alessandro CristianiIt is not possible to redirect the two different type of logs by using same log level. you have to use to different log levels for both and then in your code you have to mark specifically.
to do this you can use log levels ERROR (for exceptions) and FATAL (for errors).
First define your own logger class that will be using the log4j API's
import org.apache.log4j.Logger;
public class MyLogger {
static Logger log = Logger.getLogger(MyLogger.class);
public static logThrowable(Throwable th){
if(th instanceof Exception) {
log.error(th.getMessage());
} else {
log.fatal(th.getMessage());
}and for your log4j.xml
change the level for your ERROR_FILE to FATAL
in your LogExample
remove:
static Logger log = Logger.getLogger(LogExample.class);change:
}catch(Exception e){
log.error("Exception e");
}to
}catch(Throwable e){
MyLogger.logThrowable(e);
}Hope this helps. Or if you do not want to do in this way then you can also create your own log levels. It is not advisable but you can certainly do that.
Please visit [Log4j Manual|http://logging.apache.org/log4j/1.2/manual.html] for more on this. -
Log4j problem for backing up the log file
This is my log4j.properties. it doesn't seem to back up the log file and create a new log file when it reaches to MAX size. can anybody look at it?
Thanks..
log4j.rootCategory=debug, stdout, R
# Print only messages of priority WARN or higher for your category
log4j.category.your.category.name=WARN
# Specifically inherit the priority level
#log4j.category.your.category.name=INHERITED
#### First appender writes to console
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
# Pattern to output the caller's file name and line number.
log4j.appender.stdout.layout.ConversionPattern=[%d] [%c] %-5p - %m%n
#### Second appender writes to a file
log4j.appender.R=org.apache.log4j.RollingFileAppender
log4j.appender.R.File=/opt/mc/logs/AMSWAS.log
# Control the maximum log file size
log4j.appender.R.MaxFileSize=200000KB
log4j.appender.R.MaxBackupIndex=1
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=[%d] [%c] %-5p - %m%nHello again Tom and thanks for your help!
No, I didn't optimize any media though I've rendered proxies for all media. I have about 14TB of R3D footage on five external harddrives, it's a feature. The proxies and sound files which I copied to the library makes the library file that big. I can't consolidate all media, as far as I know, since I don't have a drive even close to the size of all the R3D footage.
In terms of copying I have only tried the good old "copy/paste" method. I have never used any of those programs you mentioned. Can those programs be used to copy certain files or will they copy an entire drive?
Will the automatic back-ups FCPX does every 15 minutes save my timelines if something would go wrong and the library file would dissappear? I don't fully understand how that back-up process works. I could always render new proxies, though it would take time, but re-editing all those timelines is a whole other thing. Important to note here is that I'm used to Premiere Pro and the "old" FCP which is why all of this is so confusing.
Thank you again! -
Log file sync waits - COMMIT class - Pattern observed
I am running a performance test with 1 vUser for 24 hrs. Each time the user logs in, it logs in to my application as a different customer. All customers go through the same screens and perform the same operations.
When I analyze the % Total CPU time, % User CPU and % Wait CPU, I see a strange pattern or behavior. % User CPU is pretty much flat for the entire duration of the test. However, % Total CPU and % Wait CPU have the same pattern as described below:
- First 3 hrs 15 mins - high % Total CPU and % Wait CPU
- Next 1 hr 15 mins - low % Total CPU and % Wait CPU
- Next 3 hrs 15 mins - same as first 3 hrs 15 mins.
- Next 1 hr 15 mins - same as the earlier 1 hr 15 mins
... and so on.
I generated the awrddrpt - between two awrrpt - each of 1 hr duration. One of the 1 hr duration falls within the 3 hrs 15 mins time slice, and another 1 hr falls within the 1 hr 15 min time slice.
I see that there is
--> 40% difference in the wait time for log file sync events - 40% less in the 1 hr duration from 1 hr 15 mins slice compared to the larger slice, even though the # of log file sync events in both the 1 hr durations is close to same.
Pls note that this is the same test from which the two durations were compared. Same environment, Same load (loadProfile in awrddrpt shows no difference), then why do I see difference in Wait CPU - higher in one time slice (3 hr 15 mins) when compared to the other slice (1 hr 15 mins).
log file sync shows in Top 5 timed events in both time slices. In the 1 hr duration from longer time slice, the # of log file sync events is 13,222 and in the 1 hr duration from the shorter time slice it is 13,278.
The log file sync event Wait Time(s) in the 1 hr duration in the longer time slice is 154.2s and that in the 1 hr duration in the shorter time slice is 10.3s.
Why do we see this difference, when the load profile is the same in both time slices?
Message was edited by: the user who posted the message.
user586033You are either bored or suffer from Compulsive Tuning Disorder.
It can be a challenge to solve a problem that only exists between your ears
post results from SQL below
SELECT sql_id,
SUM(time_waited) / 1000000
FROM v$active_session_history
WHERE sample_time > SYSDATE - 1 / 24
AND time_waited > 0
GROUP BY sql_id
ORDER BY 2 DESC -
Read/display updated LOG file
I want to read from a LOG file, which is being appended periodically. I have written a java program which can process on the addition made to the LOG file and display the result (as soon as something is added to the LOG file)
My prgram works fine if I use:
tail -500 input.LOG | java myprog
but when I use:
tail -f input.LOG | java myprog
nothing is displayed on the screen.
Wat could be the solution? So that myprogram keeps on processing the updated file and displays the result on the screen as soon as LOG file is appended with new data?Here is my JAVA code: It reads a line and store it into an ArrayList.
ArrayList alBuffer = new ArrayList();
try{
InputStreamReader reader = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(reader);
String strLine;
int count = 0;
while((strLine=br.readLine())!=null){
System.out.println("<NEWLINE("+count+")>:"+strLine);
alBuffer.add(count,strLine);
++count;
}catch(Exception exc){
System.out.println("EXCEPTION WHILE READING");
exc.printStackTrace();
Thanks,
Sumit
Maybe you are looking for
-
Database Table Modification!
Hi! I want to change database table i.e for e.g a table contains 10 fields with data in database i want to add 3 more fields to that table so that the data should not be removed or changed & after i ve added the fields i want to insert records to
-
Voice Memos How to email large memo's
I've noticed quite a few people mentioning they take large voice memo's ie: larger than 1 hour. Thanks to loads of older posts I've figured out how to get my 1 1/2 hour memo onto my PC and how to convert it to MP3. But how can I email it??? Zipping d
-
Ipod touch not recognized by itunes what can I do?
My ipod is not being recognized by my Itunes. i have tried the troubleshooting tips several times. Any suggestions?
-
Read Registry Keys and store it in Inventory DB
Hallo together, I am looking for a program to extract some Registry keys into the ZENworks 7 inventory database. I know I need to create a CUSTOM.INI and fill it with values. When I create the CUSTOM.INI by hand I got it to work to store the values i
-
Is possible?