Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7561919
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T13:17:00+00:00 2026-05-30T13:17:00+00:00

Has anybody seen a log file format like this before, or know the name

  • 0

Has anybody seen a log file format like this before, or know the name of it?

<Msg time='2010-01-10T17:41:31' type='INFO' attrbute3='value' ... >Log Message</Msg>

Right now I am parsing it line by line with a ruby script to get the info I need out, but I was looking into things like Microsoft Log Parser because it has SQL-ish query support.

The only problem is that since all the entries in the log file are like the above example with many top level elements, most tools won’t parse it. They complain usually with the error message “Only one top level element is allowed in an XML document.”

I could smash it all together into one file with a top level element, but I would rather reuse something existing before going down the rabbit hole even further.

Thanks,
Alex

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T13:17:01+00:00Added an answer on May 30, 2026 at 1:17 pm

    This is an ArcGIS Server log file. The help file that describes them is at help.arcgis.com.

    Each dat file has a companion xml file with the same name. This defines the root element for the xml file and references the dat file.

    The Log Parser utility will work if you pass the xml file as input. For example, the following statement will write all errors from the ArcGIS Server log into a csv file:

    LogParser -i XML -o CSV "SELECT * INTO errors.csv FROM SERVER-SERVER-20120227-000000.xml#/Log/Msg WHERE type='ERROR'"
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Has anybody seen such a thing? Small self-sufficient modules are preferred.
Has anybody seen a GP implemented with online learning rather than the standard offline
Has anybody used or seen a website that uses FlapJax to function, rather than
I was wondering if anybody has seen a technique for adding Maven dependencies to
Has anybody seen a demo or forum post that might help me out with
Has anybody seen a framework which is either written to work with Guice or
I've never seen this error before, and none of the hits on Google seem
Has anybody found a good solution for lazily-evaluated lists in Perl? I've tried a
Has anybody established a good naming convention for action in MVC? I was specifically
Has anybody experience in building a custom style in Qt? What I have in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.