MAINT: make loggam static in random kit
Merge pull request #3700 from larsmans/static-loggam

MAINT: make loggam static in random kit