Git Product home page Git Product logo

Comments (9)

ReidWeb avatar ReidWeb commented on June 2, 2024

So are you looking for it to print something like

Character {x} does not exist.

When a character/user id does not exist on the lodestone.

Or are you looking for it to tell you when a database write of a record fails?

from xivstats-gatherer-java.

 avatar commented on June 2, 2024

Just when a failure occurs
On Feb 1, 2016 3:01 AM, "Peter Reid" [email protected] wrote:

So are you looking for it to print something like

Character {x} does not exist.

When a character/user id does not exist on the lodestone.

Or are you looking for it to tell you when a database write of a record
fails?


Reply to this email directly or view it on GitHub
#5 (comment)
.

from xivstats-gatherer-java.

ReidWeb avatar ReidWeb commented on June 2, 2024

When a record write failure occurs the system will wait 1 second and attempt to write the record again and print a message. If the system fails to write the second time a stack trace will be written to the console.

See this code.

A verbosity switch already exists within the program, run with -q flag to print nothing except initiation and final completion message. Run with -D to print everything, including character id's that do not exist.

from xivstats-gatherer-java.

 avatar commented on June 2, 2024

Right, but all I want to see is when a failure occurs, if that's possible.
On Feb 1, 2016 1:40 PM, "Peter Reid" [email protected] wrote:

When a record write failure occurs the system will wait 1 second and
attempt to write the record again and print a message. If the system fails
to write the second time a stack trace will be written to the console.

See this code
https://github.com/XIVStats/XIVStats-Gatherer-Java/blob/master/src/main/java/com/ffxivcensus/gatherer/Gatherer.java#L39
.

A verbosity switch already exists within the program, run with -q flag to
print nothing except initiation and final completion message. Run with -D
to print everything, including character id's that do not exist.


Reply to this email directly or view it on GitHub
#5 (comment)
.

from xivstats-gatherer-java.

ReidWeb avatar ReidWeb commented on June 2, 2024

@hmschreck I can add that as a feature, adding to requested feature list

from xivstats-gatherer-java.

ReidWeb avatar ReidWeb commented on June 2, 2024

I have added the '-F' flag to the program, run the program with flags '-qF' to print only records that aren't gathered because they don't exist.

from xivstats-gatherer-java.

ReidWeb avatar ReidWeb commented on June 2, 2024

Hopefully this rectifies your request.

from xivstats-gatherer-java.

 avatar commented on June 2, 2024

I was actually more worried about things not going in the database, but
this will be useful as well!
On Feb 1, 2016 3:00 PM, "Peter Reid" [email protected] wrote:

Hopefully this rectifies your request.


Reply to this email directly or view it on GitHub
#5 (comment)
.

from xivstats-gatherer-java.

ReidWeb avatar ReidWeb commented on June 2, 2024

Ah right, if that occurs an error will be printed: Error: Record write failure, reattempting write.
It will then reattempt the write, and if it fails it'll print you the appropriate errors to the console to allow you to debug.

from xivstats-gatherer-java.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.