A question about permissions.log

+1 vote
What exactly is permissions log used for, is it necessary and can we limit it?

we have a "problem" these logs take up to 10 GB per chain per node with a lot of assets in chain.

2016-04-25 14:09:52.536 Grant: (a0247d42-d18f1a81-00001000-d18f1a81) (0-4294967295, 0), In consensus: 1, Admin count: 1, Miner count: 1
2016-04-25 14:10:05.430 Grant: (0c9eefee-00000000-00000001-d18f1a81) (0-4294967295, 0), In consensus: 1, Admin count: 1, Miner count: 1
2016-04-25 14:10:05.430 Grant: (0c9eefee-d18f1a81-00000010-d18f1a81) (0-4294967295, 0), In consensus: 1, Admin count: 1, Miner count: 1
2016-04-25 14:10:05.431 Grant: (0c9eefee-d18f1a81-00001000-d18f1a81) (0-4294967295, 0), In consensus: 1, Admin count: 1, Miner count: 1
2016-04-25 14:10:08.328 Grant: (60b38a78-00000000-00000001-d18f1a81) (0-4294967295, 0), In consensus: 1, Admin count: 1, Miner count: 1
2016-04-25 14:10:08.328 Grant: (60b38a78-d18f1a81-00000010-d18f1a81) (0-4294967295, 0), In consensus: 1, Admin count: 1, Miner count: 1
2016-04-25 14:10:08.328 Grant: (60b38a78-d18f1a81-00001000-d18f1a81) (0-4294967295, 0), In consensus: 1, Admin count: 1, Miner count: 1
2016-04-25 14:10:14.310 Grant: (da0fd026-00000000-00000001-d18f1a81) (0-4294967295, 0), In consensus: 1, Admin count: 1, Miner count: 1
2016-04-25 14:10:14.310 Grant: (da0fd026-d18f1a81-00000010-d18f1a81) (0-4294967295, 0), In consensus: 1, Admin count: 1, Miner count: 1
2016-04-25 14:10:14.310 Grant: (da0fd026-d18f1a81-00001000-d18f1a81) (0-4294967295, 0), In consensus: 1, Admin count: 1, Miner count: 1

 

these are the last few lines can you also explain what each thing in one line is?

I realise this is actualy like 4 questions but try to answer them all  :)
asked Apr 26, 2016 by SlobodanMargetic

1 Answer

0 votes
It is just another "debug.log". You can remove it.

You cannot run multichain without it. But in the next Alpha it will be possible to shrink it using -shrinkdebugfilesize runtime parameter.

Each line in this log represents permission instruction received by the node.

This log is very useful for debugging, but not for end users as it uses shortened notations. For example, d18f1a81 represents some MultiChain address, which looks absolutely different from user perspective.
answered Apr 27, 2016 by Michael
...