To answer the immediate question: if you have direct access to the server filesystem, you should be able to rotate the log by just moving the log file. (It's usually a file called log
in the server root directory.) Obviously this will only free up space on the drive if you move it to another drive (i.e. wherever you keep your backups, which is hopefully not just another directory on the same physical drive). If you don't care about historical log data (and if you never look at your log anyway, there's no reason to), you can also just delete it. Either way, the server will just start a new log file the next time it has something to write to the log.
I'm doubtful that this on its own will buy you much time before the disk fills up again, since the log file is usually a pretty small fraction of overall disk usage (unless you've been running with extra verbose logging and it's been a very long time since the log has been truncated or rotated).
The main way to save space is going to be making sure that there isn't anything taking up space on the disk that's not part of what the actual server needs to operate. As I alluded to earlier, inexperienced admins will sometimes take regular checkpoints/backups but leave them all in the server root (which is where they're written by default if you don't specify a location for them) instead of actually moving them to backup storage; this is not only a giant waste of space, it largely defeats the purpose of backups (which is to allow you recover from something like a disk failure -- not much help if the backups are on the same failed disk). So if you're doing that, stop it, and that'll likely buy you some more time.
Another potential avenue of investigation is what's getting stored in the server -- are massive binary files getting checked in on a regular basis that don't actually need to be versioned? If so, obliterating old revisions and changing those files to +S
storage might save some archive space.
Ultimately, though, if you've already eliminated all the obvious potential wastes of space, you're not going to be able to infinitely stretch a finite amount of disk space no matter how often you rotate your log file. Invest in disk space that's going to be adequate to store the amount of data that you're adding to your server in the course of normal operations.