Giter VIP home page Giter VIP logo

Comments (19)

delahee avatar delahee commented on September 28, 2024

Why not do somethign like in dbAdmin for spod, propose a handler implementation and let the user abstract it in haxe/php or haxe/neko ?

from crashdumper.

misterpah avatar misterpah commented on September 28, 2024

completed the proof-of-concept !
works & tested in neko, linux.
will commit later.
It need NodeJS server, so it will take a while to make it a pretty logger.

flash target not working because securityError 2028
any idea how to overcome this?

from crashdumper.

larsiusprime avatar larsiusprime commented on September 28, 2024

Maybe one of these?
https://stackoverflow.com/search?q=error+2028+[as3]

from crashdumper.

larsiusprime avatar larsiusprime commented on September 28, 2024

@misterpah -- what's your approach? Are you just dumping flat files, or are you going to include a database?

from crashdumper.

misterpah avatar misterpah commented on September 28, 2024

currently thinking to dump flat-file.
database is too much.
i don't think people want to install database just for the logger.

from crashdumper.

misterpah avatar misterpah commented on September 28, 2024

got flash target working.
compile with lime test flash -debug -Dnetwork-sandbox
logger now also serve crossdomain.xml file.
reference : http://old.haxe.org/doc/flash/security

from crashdumper.

delahee avatar delahee commented on September 28, 2024

Hey bros !

If I may help, crash logs are a uber key data ( for us at least ) so I
would advise you to have them properly parsed and semantised and have
multiple storage backend ( mondo/sql db should be possible ).

Good luck, luv yall !

2014-06-06 20:07 GMT+02:00 misterpah [email protected]:

got flash target working.
compile with lime test flash -debug -Dnetwork-sandbox
logger now also serve crossdomain.xml file.
reference : http://old.haxe.org/doc/flash/security

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

David Elahee

from crashdumper.

larsiusprime avatar larsiusprime commented on September 28, 2024

@delahee: sounds good, got any "best practices" for all that?

I also agree it'd be great to have multiple storage backends. We should have a basic network API for the thing that receives these crash dumps, and then the developer can have a flat-file-dumper or a fancy-database-storer mechanism behind that. So lets start with @misterpah's flat file thing, and then use that as a basis for more complex mechanisms.

I also think it would be super swell if the code for both the client crashdumper and the server-side crashdump receiver(s) could all be included in this repo :)

Another thought -- as of right now, there's no way to identify the user who sent the data, I guess you could log the incoming IP when you receive the data? Or should I generate GUID numbers with crash reports, or what?

from crashdumper.

delahee avatar delahee commented on September 28, 2024

Well I would say collect them with care, be able to explore, archive, find
similar, filter similar and flag easily. Also a good thing is to monitor
session length and player current situation in the game sequence scheme. :)
Le 6 juin 2014 21:15, "Lars Doucet" [email protected] a Γ©crit :

@delahee https://github.com/delahee: sounds good, got any "best
practices" for all that?

I also agree it'd be great to have multiple storage backends. We should
have a basic network API for the thing that receives these crash dumps, and
then the developer can have a flat-file-dumper or a fancy-database-storer
mechanism behind that.

I also think it would be super swell if the code for both the client
crashdumper and the server-side crashdump receiver(s) could all be included
in this repo :)

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

from crashdumper.

larsiusprime avatar larsiusprime commented on September 28, 2024

Cool, good tips all.

My game-specific implementation includes timestamps for the beginning and end of the play session (should probably calculate & log duration just for convenience), and it also includes a dump of the player's initial save/configuration files, as well as a HaxeFlixel replay of all their input that got them from the starting condition to the crash.

from crashdumper.

larsiusprime avatar larsiusprime commented on September 28, 2024

Just pushed duration logging.

from crashdumper.

as3boyan avatar as3boyan commented on September 28, 2024

I would use https://github.com/stacktracejs/stacktrace.js/ for JS target.

from crashdumper.

misterpah avatar misterpah commented on September 28, 2024

almost complete.
tested and works on linux, neko and flash.

Flash
screenshot from 2014-06-08 01 04 30

neko
screenshot from 2014-06-08 01 12 58

linux
screenshot from 2014-06-08 01 11 38

edit :
crashdumper-logger is the localhost server implementation. Of course it can be used as www implementation.

from crashdumper.

misterpah avatar misterpah commented on September 28, 2024

https://github.com/misterpah/crashdumper-logger

from crashdumper.

larsiusprime avatar larsiusprime commented on September 28, 2024

Ah, thanks very much! That's great!

from crashdumper.

larsiusprime avatar larsiusprime commented on September 28, 2024

@misterpah --

I'm thinking of creating a folder inside crashdumper for various backend implementations that the user can choose from. Do you mind if I use your crashdumper-logger code as our first?

from crashdumper.

misterpah avatar misterpah commented on September 28, 2024

i would be very happy if you do so. :)

from crashdumper.

larsiusprime avatar larsiusprime commented on September 28, 2024

Sounds great! This logger is very useful, by the way, been playing with it just now. I also figured out how to add stack traces to flash crash dumps, juts committed that.

I'll close this issue as soon as I bring your code over.

from crashdumper.

larsiusprime avatar larsiusprime commented on September 28, 2024

Code has been imported. I'll close this for now, if someone wants to add a new server-side implementation or expand up on what's there I'll be happy to accept it.

from crashdumper.

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.