{"id":2605,"date":"2022-08-30T15:26:15","date_gmt":"2022-08-30T15:26:15","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/02\/04\/problem-about-log-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:26:15","modified_gmt":"2022-08-30T15:26:15","slug":"problem-about-log-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/problem-about-log-collection-of-common-programming-errors\/","title":{"rendered":"problem about log-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/11db73037dd7fb30ea7f8af83faa3147?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\ndezso<br \/>\nsql-server normalization log<br \/>\nHow can I normalize a table that has four columns for logging the latest activity for a single record:Created On Created By Modified On Modified ByWe have dozens of tables, all with these 4 columns. Is there a way or pattern to normalize this in an efficient and flexible manner?<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/d0fed5284da9de832fd96090f76f8af9?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nuser2284355<br \/>\nlog rsyslog<br \/>\nI am going insane trying to get rsyslog to send a specific logfile to a remote server over UDP. This is the rsyslog.conf file for the sending server:# \/etc\/rsyslog.conf Configuration file for rsyslog. # # For more information see # \/usr\/share\/doc\/rsyslog-doc\/html\/rsyslog_conf.html # # Default logging rules can be found in \/etc\/rsyslog.d\/50-default.conf################# #### MODULES #### ################# $ModLoad imuxsock # provides support for<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/b73831c5e87a33f29c56295c1f1041a4?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nmrjrdnthms<br \/>\narcmap geoprocessing log<br \/>\nI am writing a greoprocessing script in python and running it in arcmap 10. The script works as expected until it gets to an area solar radiation calculationAreaSolarRadiation(input_dem, &#8220;&#8221;, &#8220;400&#8221;, TimeMultipleDays(2011,1,31),7)It seems every other time I try to run the geoprocessing tool in arcmap the application crashes when it gets to that solar radiation calculation. Sometimes the crash is followed by a prompt to send ESRI an error report. Sometimes I don&#8217;t even get that. The dem I am ca<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/05d9c2908ca26febd6e0caa0f270f65b?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nChad Cooper<br \/>\nqgis windows7 log<br \/>\nI have a problem with QGIS 1.8 with OSGEO4W installer (windows 7 &#8211; 64 bit). QGIS crash on startup, it shows the splash screen and then nothing. I have updated from an old 1.7.4 QGIS version. I have done the same procedure in a portable computer and it works fine. The problem is only in the workstation. Is there a log file to view what is the problem? Thank you<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/6566a52971f284b19822a45d97db828f?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nRolandoMySQLDBA<br \/>\nmysql innodb recovery sequence log<br \/>\nOur site was getting intermittent database errors and I asked my webhost to check what&#8217;s happening. After some inspection they found that the database has few issues and tried repairing it. Finally I got following message from them- I have attempted every repair on the InnoDB database and we are stillgetting the InnoDB log sequence number is in the future. At thispoint to get the ibdata and the iblogfile to match up once again wewill need to restore the MySQL directory (which includes databas<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/ANNa7.jpg?s=32&amp;g=1\" \/><br \/>\nRishee<br \/>\nserver configuration log administration syslog<br \/>\nI have a Ubuntu Server 11.10 installed. wanted to know where hardware related logs are stored &amp; is there any configuration that needs to be done, for those logs to be activated?If possible please mention where to find the logs related to drivers of the respective hardware failuer or something related to particular driver failure? And in case if they are stored in one single log file then how to distinguish the hardware errors or logs from drivers errors or logs?My purpose behind this informa<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/b2a1c33c0520accd47ac4c8730392e7a?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nRamon Suarez<br \/>\nsync log insync<br \/>\nWhen contacting the customer service of Insync they ask to send the logs where do I find them in Ubuntu?<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/06a757e3faa6db826adc6112bfad33d2?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nWarriorIng64<br \/>\n10.04 freeze log syslog apport<br \/>\nAm onUbuntu 10.04.2 LTS Linux skiran 2.6.32-32-generic-pae #62-Ubuntu SMP Wed Apr 20 22:10:33 UTC 2011 i686 GNU\/LinuxMy machine froze for the 5th time in 2 days. Had to reboot, and login to a failsafe session to collect and review logs. ALT+F2 to run nm-applet, so that the network connectivity works ALT+F2 to run gnome-do, to launch my applications (I prefer using gnome-do, to using menu options, or ALT+F2)I noticed the following errors in the various \/var\/log\/* files, at the time my machine las<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/0181a618dbdf8260e0f051df5924e539?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\ngreen7<br \/>\nlog<br \/>\nSo, if there is some problem with my computer, be it hardware or software, what are the major log files and where are they located?Also, is there a generic location where log files of the other packages might be located?<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/2086f63f0c1ac9fe50190849114d8394?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nizx<br \/>\nserver command-line kernel log<br \/>\nMy server freezes every day at 00:50 am. I do not know what it can be. In log files I found just such a suspect listing, but I do not know what that means. Could someone help me??kernel: php5-cgi invoked oom-killer: gfp_mask=0x84d0, order=0, oom_adj=0, oom_score_adj=0 kernel: php5-cgi cpuset=\/ mems_allowed=0 kernel: Pid: 20316, comm: php5-cgi Not tainted 2.6.38.2-xxxx-std-ipv6-64 #2 kernel: Call Trace: kernel: [&lt;ffffffff810de9e8&gt;] ? dump_header+0x88\/0x1d0 kernel: [&lt;ffffffff810aa6e3&gt;]<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/660c158fb817bc84a1e258b2b35e062e?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nKevin Bowen<br \/>\nlog privacy syslog<br \/>\nI have heard that log files contains private data. How can I remove it and what files should I remove from them? Those are very long files so maybe if I know what to remove I can use a script or something else.Any suggestions? Thanks.<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/6fce102dc34236cd4e485c69d7293ee9?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nSeth<br \/>\nlog<br \/>\nI have been using ubuntu for years, but I am ICT challenged. 12.04LTS recently crashed while I was on the interweb. Now, when i try to boot, it asks me to log in. Never had to do this before, and the 3 possible passwords that I use for everything don&#8217;t work. I can log in as a guest, but of course I can&#8217;t access my folders or documents. Any thoughts?<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/32d851b22e4659bca3a94b6286cada76?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nOctavian Damiean<br \/>\nscreensaver log<br \/>\nI&#8217;m looking for a simple way to determine the rough amount of time per day I spend on a computer. This can be a difficult task if you try to monitor processes, key presses, mouse clicks and the like, because one can be doing anything from thinking about a coding problem, reading a web article, talking on the phone, or gone off walking the dog. The computer cannot read my mind. Since I leave computers on 24\/7 monitoring log-ins won&#8217;t work. I hit on the idea of logging how much time the computer s<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/83b5b2299c719f4f35f603ee141b11c7?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nd3vid<br \/>\nshutdown log<br \/>\nI was at school SSHing to my homebox. All of a sudden, my connection was closed. Attempting to reconnect failed. When I returned home, I discovered that my computer was off.Nobody was at my house and I am sure that I did not have a power outage.How can I figure out how or why my computer shut off? Is there some log in \/var\/log that could point me in the right direction? Should there be a core dump somewhere that I should find? If so, how do I use core dumps?<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/d4f7d15de2abdec49cacaac7d14f00fc?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nJorge Castro<br \/>\nlog logging<br \/>\nI&#8217;m trying to clear a log file in use, and all the commands I&#8217;ve tried so far:truncate less tail filenameDon&#8217;t get the job done. Deleting the file and creating a new file with the same name doesn&#8217;t work either.I heard about a config-file for the log but I have no idea where this is kept. Is there ANY way to fix this problem? This log file will get so big it&#8217;ll crash my system.<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/BPO0Z.png?s=32&amp;g=1\" \/><br \/>\nBraiam<br \/>\ncommand-line log<br \/>\nI want to know how to get a log file of a program. This is useful to find the faults in an application when it crashes. I mean opening the application through the terminal and at the same time writing a log file.Are there special commands to do this, or is it automatically done whenever an application is run? If so, where is that log file stored?<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/3faaa641cdd69e2f8d8f612aec07a39e?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nEchogene<br \/>\njava log<br \/>\nI have a certain Java program that occasionally causes Ubuntu to crash. The sound gets stuck on a short loop, the screen output actually ceases (i.e. monitor can find no input and turns off) and no keyboard or mouse inputs work. I have to restart it from the physical power button. My question isn&#8217;t how to fix it because I don&#8217;t know what is actually happening. I would like to know what logs or logging programs I could look at to get any information on why this is happening. It would be usef<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/p8XbW.png?s=32&amp;g=1\" \/><br \/>\nvasa1<br \/>\nsecurity log administration filter<br \/>\nHow to filter system logs (like \/var\/log\/syslog) so that they not contain sensitive data and can be safely used to analyze system problems (crashes etc.)?<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/Dm6IX.jpg?s=32&amp;g=1\" \/><br \/>\nAnwar Shah<br \/>\nlog<br \/>\nThis question already has an answer here:Which log will tell me why my computer shut down?2 answersSome mornings I wake up to find that my computer has rebooted for reasons unknown to me. I&#8217;ve tried looking in various files in Log File Viewer, but none seems to provide any clues.What can I do to investigate what&#8217;s going on?edit: This is not a power outage\/surge. I&#8217;m hooked up to a UPS battery, and the logs always show that reboot happens within a minute or two of the crash.<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/d4f7d15de2abdec49cacaac7d14f00fc?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nJorge Castro<br \/>\nlog<br \/>\nMy laptop crashes (which is another question) and when it does so it swiches to a text console and outputs an error which is too long to type (like this). I can&#8217;t do anything with it other than sometimes restart X (otherwise restart the computer) when it crashes. Is there any way I can get this error so I can post it? A log somewhere? I&#8217;ve tried SSH and conspy, but networking seems to get cut off.<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/858395cf1fc125b0609a1070081038b8?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nBruno Pereira<br \/>\nlog<br \/>\nSometimes it happen that some application crash without give no output error (conky in my case, probably is one of my configuration that is incorrect).Is there somewhere a error log that I can check to understand why it is crashed?<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/d629b6ac45d58dbd918c0246b364748d?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nRolandiXor<br \/>\nunity-2d log freenx gnome-session<br \/>\nI was connecting to a remote laptop using FreeNX and a gnome classic session. After upgrading to 11.10 on the laptop I am now using unity 2D . Sometimes while working on the NX session, the session will suddenly terminate. Since the main change was from classic gnome2 to unity 2d I am afraid that unity 2d is crashing.Are there any logs related to the gnome-session\/unity 2d likely used for errors logging ?<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.codeproject.com\/script\/Membership\/Images\/member_unknown.gif\" \/><br \/>\nBob1000<br \/>\nlog<br \/>\nEvery time I try and log into Code project it crashes (picture of the bugs ok that&#8217;s neat but fed up seeing it!). \u00a0 Using IE9 on Window 7 64 bit &#8211; no other problems seen with IE9 or system just Code project \u00a0 Hope this message works at least&#8230;&#8230;.Any ideas? \u00a0 Add Just noticed that one of the crashed attempts at logging in must have actualy worked as I&#8217;m logged in. So maybe its not the logging in but what the web page does after log in! \u00a0 As a note: Code project use to be gr<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/e4e17e45f2e8cc967a8695131910f365?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nThufir<\/li>\n<\/ul>\n<p id=\"rop\"><small>Originally posted 2014-02-04 02:42:56. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>dezso sql-server normalization log How can I normalize a table that has four columns for logging the latest activity for a single record:Created On Created By Modified On Modified ByWe have dozens of tables, all with these 4 columns. Is there a way or pattern to normalize this in an efficient and flexible manner? user2284355 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2605","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2605","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=2605"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2605\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=2605"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=2605"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=2605"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}