[{"content":"The worst feeling in IT is hitting an error you know you\u0026rsquo;ve fixed before and having no idea how. Obsidian is where I make sure that only happens once.\nWhy Obsidian It\u0026rsquo;s just Markdown files in a folder. No lock-in, easy to back up, easy to grep. Search is fast, and it searches inside code blocks, which is where the error messages live. Links between notes turn a pile of fixes into a map: a printer issue links to the print server, which links to the GPO that broke it. One note per problem Every time something breaks, it gets a note. I keep a template so I don\u0026rsquo;t have to think about the format:\n--- tags: [incident] system: date: {{date}} status: open --- ## Symptom What the user saw / what broke. ## The log line The exact error, pasted in a code block so search finds it later. ## What I tried - ## Fix What actually worked, and why. The log line section is the important one. Paste the error exactly. Six months from now you\u0026rsquo;ll search for 0x80070005 or Event ID 1001, and the note will be waiting for you.\nFolders I use Folder What goes in it Incidents/ One note per problem, using the template above Systems/ One note per server, app, or client: what it is, where its logs are Runbooks/ Step-by-step procedures that got repeated more than twice Snippets/ PowerShell and shell one-liners worth keeping Plugins worth adding Templater: fills in dates and prompts for the template above. Dataview: lists every incident with status: open, or every fix for a given system. Obsidian Git: commits the vault on a timer, so your notes get versioned and backed up. Where this blog comes from A lot of what ends up on this site starts as one of those incident notes. When a fix is interesting enough, it gets cleaned up and posted here.\n","permalink":"http://readthelogs.dev/posts/obsidian-as-a-troubleshooting-notebook/","summary":"Fixing a problem once is good. Finding your own notes the next time it happens is better. Here\u0026rsquo;s how I set up Obsidian to remember fixes for me.","title":"Obsidian as a Troubleshooting Notebook"},{"content":"When something breaks on a Windows box, the answer is almost always written down somewhere. Here\u0026rsquo;s where I look first.\nEvent logs The big three live in Event Viewer under Windows Logs: System, Application, and Security. Skip the clicking and pull the last hour of errors straight from PowerShell:\nGet-WinEvent -FilterHashtable @{ LogName = \u0026#39;System\u0026#39;, \u0026#39;Application\u0026#39; Level = 1, 2 # Critical, Error StartTime = (Get-Date).AddHours(-1) } | Format-Table TimeCreated, ProviderName, Id, Message -Wrap Unexpected reboots Event ID 41 (Kernel-Power) means it went down hard. 1074 tells you who or what asked for a restart:\nGet-WinEvent -FilterHashtable @{ LogName = \u0026#39;System\u0026#39;; Id = 41, 1074, 6008 } -MaxEvents 20 Other places worth knowing What Where Windows Update Get-WindowsUpdateLog (writes a readable file to your Desktop) IIS C:\\inetpub\\logs\\LogFiles\\ Setup / upgrades C:\\Windows\\Panther\\ Crash dumps C:\\Windows\\Minidump\\ Group Policy gpresult /h report.html The rule Before you reboot it, reinstall it, or open a ticket: read the logs.\n","permalink":"http://readthelogs.dev/posts/where-windows-hides-its-logs/","summary":"A quick map of the Windows logs I check first, and the PowerShell to pull them without clicking through Event Viewer.","title":"Where Windows Hides Its Logs"},{"content":"Hi, I\u0026rsquo;m Bryce. I work in IT and software, which mostly means figuring out why things broke.\nThe name says it all: most problems announce themselves somewhere in a log file long before anyone notices. This site is where I write up the ones worth remembering: what the symptom was, which log line gave it away, and what actually fixed it.\nIf one of these posts saved you an afternoon, that\u0026rsquo;s the whole point.\n","permalink":"http://readthelogs.dev/about/","summary":"\u003cp\u003eHi, I\u0026rsquo;m Bryce. I work in IT and software, which mostly means figuring out why things broke.\u003c/p\u003e\n\u003cp\u003eThe name says it all: most problems announce themselves somewhere in a log file long before\nanyone notices. This site is where I write up the ones worth remembering: what the symptom\nwas, which log line gave it away, and what actually fixed it.\u003c/p\u003e\n\u003cp\u003eIf one of these posts saved you an afternoon, that\u0026rsquo;s the whole point.\u003c/p\u003e","title":"About"}]