Altcoin does not create .altcoin folder and debug.log I changed the source code of bitcoin and I ran it. However, it gives the following error:

chainparams.cpp:140: CMainParams::CMainParams(): Assertion `hashGenesisBlock == uint256("0xxx")' failed.


Aborted (core dumped)

It also does not create .altcoin folder in home folder, so I cannot see debug.log. Why is this so?
The latest bitcoin source doesn't output any debug log in chainparams.cpp. 
You can, 


Use GenesisH0 to find your Genesis block hash.
make &amp;&amp; sudo make install
Run it again, then you will see debug.log within your bitcoin folder