netcreateorg / netcreate-2018

Please report bugs, problems, ideas in the project Issues page: https://github.com/netcreateorg/netcreate-2018/issues
Other
11 stars 2 forks source link

Log details #102

Closed jdanish closed 4 years ago

jdanish commented 4 years ago

It would help if logs included the database name when using multiplex so that we can see at a glance which DB is being accessed.

benloh commented 4 years ago

Good point. I'll add this.

benloh commented 4 years ago

@jdanish Is this OK?

11:20:00 tacitus NETCREATE APPSERVER SESSION LOG for 2020/08/06 Thursday 11:20:00
11:20:00 tacitus ---
11:20:15 tacitus UADDR_01   joined network
11:20:15 tacitus UADDR_01   getdatabase
11:20:20 tacitus UADDR_01 [a-b-vlr] select node 86  The Gallic Tribes
11:20:35 tacitus UADDR_01 [a-b-vlr] select node 103 Publius Clodius
11:20:38 tacitus UADDR_01 [a-b-vlr] insert edge 366 {"id":366,"source":86,"target":103,"attributes":{"Relationship":"","Info":"","Citations":"","Category":"","Notes":""}}
11:20:39 tacitus UADDR_01 [a-b-vlr] select node 86  The Gallic Tribes

Added in ec402e6d56eb38ad0475dee647fd49905d76f8e6

jdanish commented 4 years ago

Great!! Thanks!

benloh commented 4 years ago

@jdanish One more question. The delimiter used in the data is a tab, but currently we're just using a space for the first few items: 11:20:20 tacitus UADDR_01 [a-b-vlr]. We can tabify some or all of those if you want.

jdanish commented 4 years ago

If you can make them all tab that’d be great!!

benloh commented 4 years ago

All delimiters are now tabs except for the delimiter between the UADDR and the token, e.g. UADDR_01 [a-b-vlr]. That's baked into the packet info.

jdanish commented 4 years ago

Great, thanks!