How to turn off (disable) Akka logging alvin September 6, 2016 - 5:50pm

Using Akka logging is a great thing, until you need to turn it off. In short, to disable Akka logging, you need to create a file named application.conf in your SBT src/main/resources folder, and set the loglevel to “OFF” in that file, like this:

Restart Mac OS X networking (AirPort) from the Mac command line

It looks like there may be a couple of ways to restart Mac networking -- AirPort to be specific -- from the Mac command line. The first is the old-school approach of using the ifconfig command. This command shuts down the en0 or en1 interface, which is typically the AirPort wireless interface. On my MacBook Air it's en0, so I'll show that here:

sudo ifconfig en0 down

You bring it back up/online in the same way: